From: Chris Duncan Date: Mon, 3 Aug 2026 21:11:34 +0000 (-0700) Subject: Fix assertion argument order. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=4b14cb9b1fa35800c3ba265904bb0e22fec95ec8;p=libnemo.git Fix assertion argument order. --- diff --git a/test/test.blocks.mjs b/test/test.blocks.mjs index 7f1e64f..ee905db 100644 --- a/test/test.blocks.mjs +++ b/test/test.blocks.mjs @@ -26,7 +26,7 @@ await Promise.all([ assert.nullish(block.work) const result = await assert.rejects(block.process(rpc)) assert.exists(block.work) - assert.equal(result.message, 'Block could not be processed') + assert.equal('Block could not be processed', result.message) }) }),