aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-icu-transcode.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-icu-transcode.js')
-rw-r--r--test/parallel/test-icu-transcode.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-icu-transcode.js b/test/parallel/test-icu-transcode.js
index 7bc10e7c5d..1c77427b15 100644
--- a/test/parallel/test-icu-transcode.js
+++ b/test/parallel/test-icu-transcode.js
@@ -22,9 +22,9 @@ const tests = {
for (const test in tests) {
const dest = buffer.transcode(orig, 'utf8', test);
- assert.strictEqual(dest.length, tests[test].length);
+ assert.strictEqual(dest.length, tests[test].length, `utf8->${test} length`);
for (let n = 0; n < tests[test].length; n++)
- assert.strictEqual(dest[n], tests[test][n]);
+ assert.strictEqual(dest[n], tests[test][n], `utf8->${test} char ${n}`);
}
{