mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-20 07:03:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
34
spec/unsupported_lexers/vbscript/test_floats.txt
Normal file
34
spec/unsupported_lexers/vbscript/test_floats.txt
Normal file
@ -0,0 +1,34 @@
|
||||
---input---
|
||||
1.
|
||||
1.e1
|
||||
.1
|
||||
1.2
|
||||
1.2e3
|
||||
1.2e+3
|
||||
1.2e-3
|
||||
1e2
|
||||
|
||||
---tokens---
|
||||
'1.' Literal.Number.Float
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'1.e1' Literal.Number.Float
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'.1' Literal.Number.Float
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'1.2' Literal.Number.Float
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'1.2e3' Literal.Number.Float
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'1.2e+3' Literal.Number.Float
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'1.2e-3' Literal.Number.Float
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'1e2' Literal.Number.Float
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user