summaryrefslogtreecommitdiff
path: root/tests/node_compat/test/parallel/test-url-format-whatwg.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/node_compat/test/parallel/test-url-format-whatwg.js')
-rw-r--r--tests/node_compat/test/parallel/test-url-format-whatwg.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/node_compat/test/parallel/test-url-format-whatwg.js b/tests/node_compat/test/parallel/test-url-format-whatwg.js
index 9552fd7da..ff8f1201c 100644
--- a/tests/node_compat/test/parallel/test-url-format-whatwg.js
+++ b/tests/node_compat/test/parallel/test-url-format-whatwg.js
@@ -147,3 +147,8 @@ assert.strictEqual(
url.format(new URL('http://user:pass@xn--0zwm56d.com:8080/path'), { unicode: true }),
'http://user:pass@测试.com:8080/path'
);
+
+assert.strictEqual(
+ url.format(new URL('tel:123')),
+ url.format(new URL('tel:123'), { unicode: true })
+);