Skip to content

Commit

Permalink
[ test ] add a test case
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-hoeck committed Oct 5, 2024
1 parent 1d3f5d0 commit 19e936e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/idris2/repl/repl007/expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Main> Prelude.Basics.Bool
Type constructor:
tag: 100
arity: 0
parameter positions: []
constructors: Prelude.Basics.False, Prelude.Basics.True
Compiled: Type Constructor:
arity: 0
Main> Prelude.Basics.True
Data constructor:
tag: 1
arity: 0
Compiled: Data Constructor:
tag: 1
arity: 0
Flags: contype [enum 2]
Main>
Bye for now!
2 changes: 2 additions & 0 deletions tests/idris2/repl/repl007/input
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
:di Bool
:di True
3 changes: 3 additions & 0 deletions tests/idris2/repl/repl007/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
. ../../../testutils.sh

idris2 < input

0 comments on commit 19e936e

Please sign in to comment.