remove Yob's comma mentioned in issue #1105
This commit is contained in:
parent
96f3745e73
commit
29c07aa9db
@ -148,7 +148,7 @@ Note that the mock class doesn't define `AppendPacket()`, unlike the
|
|||||||
real class. That's fine as long as the test doesn't need to call it.
|
real class. That's fine as long as the test doesn't need to call it.
|
||||||
|
|
||||||
Next, you need a way to say that you want to use
|
Next, you need a way to say that you want to use
|
||||||
`ConcretePacketStream` in production code, and use `MockPacketStream`
|
`ConcretePacketStream` in production code and to use `MockPacketStream`
|
||||||
in tests. Since the functions are not virtual and the two classes are
|
in tests. Since the functions are not virtual and the two classes are
|
||||||
unrelated, you must specify your choice at _compile time_ (as opposed
|
unrelated, you must specify your choice at _compile time_ (as opposed
|
||||||
to run time).
|
to run time).
|
||||||
|
Loading…
Reference in New Issue
Block a user