summaryrefslogtreecommitdiff
path: root/tests/snippets/javascript/test_binary_literal_positive_matches.txt
blob: 9773c95bd0def2b2bdec810e456c6391580e9013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---input---
// Test literals that should be tokenized as binary literals.
0b01
0B10n

---tokens---
''            Text
'// Test literals that should be tokenized as binary literals.' Comment.Single
'\n'          Text.Whitespace

'0b01'        Literal.Number.Bin
'\n'          Text.Whitespace

'0B10n'       Literal.Number.Bin
'\n'          Text.Whitespace