From: Chris Duncan Date: Mon, 6 Jul 2026 08:19:58 +0000 (-0700) Subject: Tweak assertion failure text. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=6f2a8a8b1a601ef4866a7fd7b66ab79c2a0f746b;p=libnemo.git Tweak assertion failure text. --- diff --git a/test/GLOBALS.mjs b/test/GLOBALS.mjs index 7f21fb9..6fad639 100644 --- a/test/GLOBALS.mjs +++ b/test/GLOBALS.mjs @@ -221,7 +221,7 @@ export class assert { throw new Error(`assert.equal() will not compare null or undefined`) } if (a !== b) { - throw new Error(`${a} not equal to ${b}`) + throw new Error(`expected ${a}; actual ${b}`) } }