This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/snippets/javascript/test_binary_literal_negative_matches.txt
Jean Abou-Samra 9b4af21690
Move more tests to tests/snippets instead of .py files (#2344)
These are easier to update in tests/snippets/ (just run with
--update-goldens).
2023-03-29 16:26:26 +02:00

27 lines
602 B
Text

---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