mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 22:53:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
26
spec/tests/nix/floats.txt
Normal file
26
spec/tests/nix/floats.txt
Normal file
@ -0,0 +1,26 @@
|
||||
---input---
|
||||
0.3
|
||||
.1
|
||||
0.1e4
|
||||
-3.0
|
||||
0.1E-4
|
||||
0.2e+4
|
||||
|
||||
---tokens---
|
||||
'0.3' Literal.Number.Float
|
||||
'\n' Text
|
||||
|
||||
'.1' Literal.Number.Float
|
||||
'\n' Text
|
||||
|
||||
'0.1e4' Literal.Number.Float
|
||||
'\n' Text
|
||||
|
||||
'-3.0' Literal.Number.Float
|
||||
'\n' Text
|
||||
|
||||
'0.1E-4' Literal.Number.Float
|
||||
'\n' Text
|
||||
|
||||
'0.2e+4' Literal.Number.Float
|
||||
'\n' Text
|
Reference in New Issue
Block a user