Added additional assertion to /flow/flow/PromiseStream/move2
This commit is contained in:
parent
c4dda9195c
commit
dd90eff171
|
@ -1458,6 +1458,7 @@ TEST_CASE("/flow/flow/PromiseStream/move2") {
|
|||
stream.send(Tracker{});
|
||||
Tracker tracker = waitNext(stream.getFuture());
|
||||
Tracker movedTracker = std::move(tracker);
|
||||
ASSERT(tracker.moved);
|
||||
ASSERT(!movedTracker.moved);
|
||||
ASSERT(movedTracker.copied == 0);
|
||||
return Void();
|
||||
|
|
Loading…
Reference in New Issue