Skip to content

Commit

Permalink
Add :let test
Browse files Browse the repository at this point in the history
  • Loading branch information
vilunov committed Jun 7, 2020
1 parent d36e804 commit 018c17b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Main.idr
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ idrisTests
"interface009", "interface010", "interface011", "interface012",
"interface013", "interface014", "interface015",
-- Miscellaneous REPL
"interpreter001",
"interpreter001", "interpreter002",
-- Implicit laziness, lazy evaluation
"lazy001",
-- QTT and linearity related
Expand Down
3 changes: 3 additions & 0 deletions tests/idris2/interpreter002/expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Main> Main> Main> "Privet, mir!"
Main>
Bye for now!
3 changes: 3 additions & 0 deletions tests/idris2/interpreter002/input
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:let i : String
:let i = "Privet, mir!"
i
3 changes: 3 additions & 0 deletions tests/idris2/interpreter002/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$1 --no-banner --no-prelude < input

rm -rf build

0 comments on commit 018c17b

Please sign in to comment.