From: Dmitry Volyntsev Date: Wed, 9 Oct 2024 23:05:26 +0000 (-0700) Subject: Test262: reporting name of the testsuite for a failed test. X-Git-Tag: 0.8.7~14 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=7b9ae6607b1bc9dae126a1a81ce1041bc79d8734;p=njs.git Test262: reporting name of the testsuite for a failed test. --- diff --git a/test/harness/runTsuite.js b/test/harness/runTsuite.js index aa3f5c0f..8103f661 100644 --- a/test/harness/runTsuite.js +++ b/test/harness/runTsuite.js @@ -30,7 +30,7 @@ async function run(tlist) { let r = results.map((r, i) => validate(ts.tests, r, i)); r.forEach((v, i) => { - assert.sameValue(v, true, `FAILED ${i}: ${JSON.stringify(ts.tests[i])}\n with reason: ${results[i].reason}`); + assert.sameValue(v, true, `FAILED ${ts.name}: ${JSON.stringify(ts.tests[i])}\n with reason: ${results[i].reason}`); }) } }