summaryrefslogtreecommitdiff
path: root/tests/node_compat/test/parallel/test-url-format-whatwg.js
diff options
context:
space:
mode:
authorBartek Iwańczuk <biwanczuk@gmail.com>2024-06-11 12:41:44 +0100
committerGitHub <noreply@github.com>2024-06-11 11:41:44 +0000
commit6a356aff1380e79d67738c5b43aa2b5fee76600d (patch)
treebe4aadc62a523ff280820958a1a3829f1a18ca7d /tests/node_compat/test/parallel/test-url-format-whatwg.js
parent3d41b486da7dcba49c8a18b45425e356c329d986 (diff)
chore: sync up Node.js test files for v20.11.1 (#24066)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
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 })
+);