Add test for unicode after fragment without path

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-05-11 20:44:39 +05:30
parent 7be9f93909
commit e20810b0cb

View file

@ -103,6 +103,10 @@ export function tests() {
"Link with unicode only after / must linkify": assert => {
testLink(assert, "https://foo.bar.com/\uD83D\uDE03");
},
"Link with unicode after fragment without path must linkify": assert => {
testLink(assert, "https://foo.bar.com#\uD83D\uDE03");
}
};
}