From 0a7bc9f8f6f88607ded5836759b1332da6ffca49 Mon Sep 17 00:00:00 2001 From: "Mark S. Miller" Date: Tue, 18 Jan 2022 13:01:44 -0800 Subject: [PATCH] fix: flip existing test --- .../zoe/test/unitTests/zcf/test-allStagedSeatsUsed.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/zoe/test/unitTests/zcf/test-allStagedSeatsUsed.js b/packages/zoe/test/unitTests/zcf/test-allStagedSeatsUsed.js index e7a9765f48d0..d15f544bd764 100644 --- a/packages/zoe/test/unitTests/zcf/test-allStagedSeatsUsed.js +++ b/packages/zoe/test/unitTests/zcf/test-allStagedSeatsUsed.js @@ -88,9 +88,8 @@ test(`allStagedSeatsUsed should be asserted`, async t => { t.true(zcfSeat3.hasStagedAllocation()); - // zcfSeat3 has a staged allocation but was not included in reallocate - t.throws(() => zcf.reallocate(zcfSeat1, zcfSeat2), { - message: - 'At least one seat has a staged allocation but was not included in the call to reallocate', - }); + // zcfSeat3 has a staged allocation but was not included in reallocate. + // This is now legal, so we now test that this reallocate does + // not throw. + t.notThrows(() => zcf.reallocate(zcfSeat1, zcfSeat2)); });