From 0b0827cc9096fc7ddf6c35e2bf71881b0e7fd5c1 Mon Sep 17 00:00:00 2001 From: "Mark S. Miller" Date: Fri, 12 Jul 2024 16:53:26 -0700 Subject: [PATCH] fixup! restored some mistaken moves --- packages/eventual-send/test/e.test.js | 2 +- packages/far/test/e.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eventual-send/test/e.test.js b/packages/eventual-send/test/e.test.js index 90459393d8..c972f9faae 100644 --- a/packages/eventual-send/test/e.test.js +++ b/packages/eventual-send/test/e.test.js @@ -106,7 +106,6 @@ test('E call missing method', async t => { }); test('E sendOnly call missing method', async t => { - await null; let count = 279; const counter = { incr(n) { @@ -117,6 +116,7 @@ test('E sendOnly call missing method', async t => { const result = E.sendOnly(counter).decr(210); t.is(result, undefined, 'return is undefined as expected'); + await null; t.is(count, 279, `sendOnly method call doesn't change count`); }); diff --git a/packages/far/test/e.test.js b/packages/far/test/e.test.js index e279c8254d..c224bf258a 100644 --- a/packages/far/test/e.test.js +++ b/packages/far/test/e.test.js @@ -128,7 +128,6 @@ test('E call missing class methods', async t => { }); test('E sendOnly call missing method', async t => { - await null; let count = 279; const counter = { incr(n) { @@ -139,6 +138,7 @@ test('E sendOnly call missing method', async t => { const result = E.sendOnly(counter).decr(210); t.is(result, undefined, 'return is undefined as expected'); + await null; t.is(count, 279, `sendOnly method call doesn't change count`); });