Added additional assertion to /flow/flow/PromiseStream/move2

This commit is contained in:
tclinken 2020-04-30 07:55:13 -07:00
parent c4dda9195c
commit dd90eff171
1 changed files with 1 additions and 0 deletions

View File

@ -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();