]> git.codecow.com Git - libnemo.git/commitdiff
Tweak assertion failure text.
authorChris Duncan <chris@codecow.com>
Mon, 6 Jul 2026 08:19:58 +0000 (01:19 -0700)
committerChris Duncan <chris@codecow.com>
Mon, 6 Jul 2026 08:19:58 +0000 (01:19 -0700)
test/GLOBALS.mjs

index 7f21fb90d2908a972e83ff52c55c84518ae84b62..6fad639bcc28981c85e183665145ebb71f13f14f 100644 (file)
@@ -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}`)
                }
        }