mirror of https://github.com/Wilfred/difftastic/
Add tests for numeric literals and get them passing
parent
8242420766
commit
01f453ab81
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,16 @@
|
|||||||
|
================================================================================
|
||||||
|
Float literals
|
||||||
|
================================================================================
|
||||||
|
|
||||||
|
1.0
|
||||||
|
-.1
|
||||||
|
3E5
|
||||||
|
1.0e+INF
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
(source_file
|
||||||
|
(float)
|
||||||
|
(float)
|
||||||
|
(float)
|
||||||
|
(float))
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
================================================================================
|
||||||
|
Integer literals
|
||||||
|
================================================================================
|
||||||
|
|
||||||
|
1
|
||||||
|
-1.
|
||||||
|
+1234
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
(source_file
|
||||||
|
(integer)
|
||||||
|
(integer)
|
||||||
|
(integer))
|
||||||
Loading…
Reference in New Issue