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

19 lines
435 B
Text

---input---
// Test literals that should be tokenized as hexadecimal literals.
0x01
0Xefn
0x0EF
---tokens---
'' Text
'// Test literals that should be tokenized as hexadecimal literals.' Comment.Single
'\n' Text.Whitespace
'0x01' Literal.Number.Hex
'\n' Text.Whitespace
'0Xefn' Literal.Number.Hex
'\n' Text.Whitespace
'0x0EF' Literal.Number.Hex
'\n' Text.Whitespace