Skip to content

Commit

Permalink
[ close #31 ] test case for the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gallais committed Mar 18, 2021
1 parent da92f9d commit f600182
Show file tree
Hide file tree
Showing 4 changed files with 24 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 @@ -47,7 +47,7 @@ idrisTestsBasic = MkTestPool []
"basic041", "basic042", "basic043", "basic044", "basic045",
"basic046", "basic047", "basic048", "basic049", "basic050",
"basic051", "basic052", "basic053", "basic054", "basic055",
"basic056"]
"basic056", "basic057"]

idrisTestsCoverage : TestPool
idrisTestsCoverage = MkTestPool []
Expand Down
19 changes: 19 additions & 0 deletions tests/idris2/basic057/LetIn.idr
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
X : Nat
X = let a : Nat
a = 0
in a

Y : Nat
Y = let a : Nat
a = 0
in a

Z : Nat
Z = let a : Nat
a = 0
in a

A : Nat
A = let a : Nat
a = 0
in a
1 change: 1 addition & 0 deletions tests/idris2/basic057/expected
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1/1: Building LetIn (LetIn.idr)
3 changes: 3 additions & 0 deletions tests/idris2/basic057/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$1 --no-banner --no-color --console-width 0 --check LetIn.idr

rm -rf build

0 comments on commit f600182

Please sign in to comment.