[njs] Test262: reporting name of the testsuite for a failed test.
noreply at nginx.com
noreply at nginx.com
Thu Oct 10 16:44:02 UTC 2024
details: https://github.com/nginx/njs/commit/7b9ae6607b1bc9dae126a1a81ce1041bc79d8734
branches: master
commit: 7b9ae6607b1bc9dae126a1a81ce1041bc79d8734
user: Dmitry Volyntsev <xeioex at nginx.com>
date: Wed, 9 Oct 2024 16:05:26 -0700
description:
Test262: reporting name of the testsuite for a failed test.
---
test/harness/runTsuite.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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}`);
})
}
}
More information about the nginx-devel
mailing list