aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-punycode.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-punycode.js')
-rw-r--r--test/parallel/test-punycode.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/parallel/test-punycode.js b/test/parallel/test-punycode.js
index 334fceadbe..9f7f772e17 100644
--- a/test/parallel/test-punycode.js
+++ b/test/parallel/test-punycode.js
@@ -200,10 +200,7 @@ const tests = [
let errors = 0;
const handleError = (error, name) => {
console.error(
- 'FAIL: %s expected %j, got %j',
- name,
- error.expected,
- error.actual
+ `FAIL: ${name} expected ${error.expected}, got ${error.actual}`
);
errors++;
};