| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8db3c77 commit c539325
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -222,3 +222,9 @@ assert.strictEqual(punycode.ucs2.encode([0xDC00]), '\uDC00'); | |||
| 222 | 222 | assert.strictEqual(punycode.ucs2.encode([0xDC00, 0x61, 0x62]), '\uDC00ab'); | |
| 223 | 223 | ||
| 224 | 224 | assert.strictEqual(errors, 0); | |
| 225 | + | ||
| 226 | + // test map domain | ||
| 227 | + assert.strictEqual(punycode.toASCII('Bücher@日本語.com'), | ||
| 228 | + 'Bücher@xn--wgv71a119e.com'); | ||
| 229 | + assert.strictEqual(punycode.toUnicode('Bücher@xn--wgv71a119e.com'), | ||
| 230 | + 'Bücher@日本語.com'); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments