home
/
code
/
tiger.ml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2c754e8
)
Break some long lines
author
Siraaj Khandkar
<siraaj@khandkar.net>
Tue, 5 Jun 2018 16:11:53 +0000
(12:11 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Tue, 5 Jun 2018 16:11:53 +0000
(12:11 -0400)
compiler/src/exe/tiger_tests.ml
patch
|
blob
|
blame
|
history
diff --git
a/compiler/src/exe/tiger_tests.ml
b/compiler/src/exe/tiger_tests.ml
index
4d86259
..
ebbf6ab
100644
(file)
--- a/
compiler/src/exe/tiger_tests.ml
+++ b/
compiler/src/exe/tiger_tests.ml
@@
-354,16
+354,16
@@
let tests_micro_cases =
; (let code = "abc[0]" in Test.case code ~code ~out_lexing:[ID "abc"; LBRACK; INT 0; RBRACK])
; (let code = "abc[0] := foo()" in Test.case code ~code
; (let code = "abc[0]" in Test.case code ~code ~out_lexing:[ID "abc"; LBRACK; INT 0; RBRACK])
; (let code = "abc[0] := foo()" in Test.case code ~code
-
~out_lexing:
-
[ID "abc"; LBRACK; INT 0; RBRACK; ASSIGN; ID "foo"; LPAREN; RPAREN])
+ ~out_lexing:
+ [ID "abc"; LBRACK; INT 0; RBRACK; ASSIGN; ID "foo"; LPAREN; RPAREN])
; (let code = "abc [5] of nil" in Test.case code ~code
; (let code = "abc [5] of nil" in Test.case code ~code
-
~out_lexing:
-
[ID "abc"; LBRACK; INT 5; RBRACK; OF; NIL])
+ ~out_lexing:
+ [ID "abc"; LBRACK; INT 5; RBRACK; OF; NIL])
; (let code = "f(\"a\", 3, foo)" in Test.case code ~code
; (let code = "f(\"a\", 3, foo)" in Test.case code ~code
-
~out_lexing:
-
[ID "f"; LPAREN; STRING "a"; COMMA; INT 3; COMMA; ID "foo"; RPAREN])
+ ~out_lexing:
+ [ID "f"; LPAREN; STRING "a"; COMMA; INT 3; COMMA; ID "foo"; RPAREN])
]
let tests =
]
let tests =
This page took
0.022137 seconds
and
4
git commands to generate.