diff options
Diffstat (limited to 'tests/snippets/javascript/test_binary_literal_negative_matches.txt')
-rw-r--r-- | tests/snippets/javascript/test_binary_literal_negative_matches.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/snippets/javascript/test_binary_literal_negative_matches.txt b/tests/snippets/javascript/test_binary_literal_negative_matches.txt new file mode 100644 index 00000000..f36ce045 --- /dev/null +++ b/tests/snippets/javascript/test_binary_literal_negative_matches.txt @@ -0,0 +1,27 @@ +---input--- +// Test text that should **not** be tokenized as binary literals. +0b0N +0b +0bb +0b2 + +---tokens--- +'' Text +'// Test text that should **not** be tokenized as binary literals.' Comment.Single +'\n' Text.Whitespace + +'0b0' Literal.Number.Bin +'N' Name.Other +'\n' Text.Whitespace + +'0' Literal.Number.Float +'b' Name.Other +'\n' Text.Whitespace + +'0' Literal.Number.Float +'bb' Name.Other +'\n' Text.Whitespace + +'0' Literal.Number.Float +'b2' Name.Other +'\n' Text.Whitespace |