Add test for unicode after fragment without path
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
7be9f93909
commit
e20810b0cb
1 changed files with 4 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Reference in a new issue