summaryrefslogtreecommitdiff
path: root/tests/func3.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-26 14:42:55 +0100
committerubq323 <ubq323@ubq323.website>2024-06-26 14:42:55 +0100
commit20584e520dfd44393aa66350b442e8a23e46c5a3 (patch)
tree9ae898ce259441e97cf9b8b371d10b17e50b563c /tests/func3.bth
parente97db36651ae3c6171644b6e4d7bf7cf613b061d (diff)
remove implicit print and adjust tests accordingly
Diffstat (limited to 'tests/func3.bth')
-rw-r--r--tests/func3.bth5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/func3.bth b/tests/func3.bth
index 59392e1..050a9bc 100644
--- a/tests/func3.bth
+++ b/tests/func3.bth
@@ -1,8 +1,7 @@
(set f1 (fn (a b) (* a b)))
(set f2 (fn (x)
- (set xx x)
(let (a 3
g (fn (y) (+ y 7)))
- (* (g a) (g xx)))))
+ (* (g a) (g x)))))
(puts (f1 6 6))
-(f2 7)
+(puts (f2 7))