Skip to content

Commit ab2dfc9

Browse files
author
Nick Frasser
committed
Fix broken test following new TLDs
1 parent 222b9c5 commit ab2dfc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/spec/linkify/core/scanner-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ const tests = [
6363
['co', [TLD], ['co']],
6464
['com', [TLD], ['com']],
6565
['comm', [DOMAIN], ['comm']],
66-
['abc 123 DoReMi', [DOMAIN, WS, NUM, WS, DOMAIN], ['abc', ' ', '123', ' ', 'DoReMi']],
67-
['abc 123 \n DoReMi', [DOMAIN, WS, NUM, WS, NL, WS, DOMAIN], ['abc', ' ', '123', ' ', '\n', ' ', 'DoReMi']],
68-
['local', [TLD], ['local']],
66+
['abc 123 DoReMi', [TLD, WS, NUM, WS, DOMAIN], ['abc', ' ', '123', ' ', 'DoReMi']],
67+
['abc 123 \n DoReMi', [TLD, WS, NUM, WS, NL, WS, DOMAIN], ['abc', ' ', '123', ' ', '\n', ' ', 'DoReMi']],
68+
['local', [DOMAIN], ['local']],
6969
['localhost', [LOCALHOST], ['localhost']],
7070
['localhosts', [DOMAIN], ['localhosts']],
7171
['500px', [DOMAIN], ['500px']],

0 commit comments

Comments
 (0)