We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dec42b5 commit 44bcc1dCopy full SHA for 44bcc1d
test/cctest/test_url.cc
@@ -88,7 +88,12 @@ TEST_F(URLTest, ToFilePath) {
88
T("file:///C:/Program%20Files/", "C:\\Program Files\\");
89
T("file:///C:/a/b/c?query#fragment", "C:\\a\\b\\c");
90
T("file://host/path/a/b/c?query#fragment", "\\\\host\\path\\a\\b\\c");
91
+#if defined(NODE_HAVE_I18N_SUPPORT)
92
T("file://xn--weird-prdj8vva.com/host/a", "\\\\wͪ͊eiͬ͋rd.com\\host\\a");
93
+#else
94
+ T("file://xn--weird-prdj8vva.com/host/a",
95
+ "\\\\xn--weird-prdj8vva.com\\host\\a");
96
+#endif
97
T("file:///C:/a%2Fb", "");
98
T("file:///", "");
99
T("file:///home", "");
0 commit comments