Skip to content

Commit

Permalink
Update packages/xsnap/test/xsnap-eof.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Gibson <[email protected]>
  • Loading branch information
siarhei-agoric and gibson042 authored Sep 24, 2024
1 parent 0ab3672 commit a6ce279
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions packages/xsnap/test/xsnap-eof.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,13 @@ test(
worker.toXsnap.destroy();
return new Uint8Array();
},
issueCommandZero,
closeVat,
async function verifyResults(t, results) {
await verifyStdError(
t,
results,
'Got EOF on netstring read. Has parent died?\n',
);
},
worker => worker.vat.issueCommand('0'),
worker => worker.vat.close(),
(t, results) => verifyStdError(
t,
results,
'Got EOF on netstring read. Has parent died?\n',
),
);

test(
Expand Down

0 comments on commit a6ce279

Please sign in to comment.