summaryrefslogtreecommitdiff
path: root/pit/test/test6.pit
diff options
context:
space:
mode:
Diffstat (limited to 'pit/test/test6.pit')
-rw-r--r--pit/test/test6.pit7
1 files changed, 4 insertions, 3 deletions
diff --git a/pit/test/test6.pit b/pit/test/test6.pit
index 93e5860..cb04f22 100644
--- a/pit/test/test6.pit
+++ b/pit/test/test6.pit
@@ -1,5 +1,6 @@
(print!
- (case 'bar
- (foo 1)
- (bar 2)))
+ ((case 'baz
+ (foo (lambda (x) (+ x 1)))
+ (bar (lambda (x) (+ x 2))))
+ 3))
\ No newline at end of file