summaryrefslogtreecommitdiff
path: root/tests/func2.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-26 13:11:00 +0100
committerubq323 <ubq323@ubq323.website>2024-06-26 13:11:00 +0100
commitc1ad2da9bd1497737c46c53e27f915cc26bc49a6 (patch)
tree5f701f22a0eed7d09056e1eafe1d60a9a48832a9 /tests/func2.bth
parent63206b605c36140f2bd476e054b8318c8b08f472 (diff)
remove explicit toplevel (do ...) from tests
Diffstat (limited to 'tests/func2.bth')
-rw-r--r--tests/func2.bth11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/func2.bth b/tests/func2.bth
index fd16eda..14f0799 100644
--- a/tests/func2.bth
+++ b/tests/func2.bth
@@ -1,6 +1,5 @@
-(do
- (set f1 (fn (a) (* a a)))
- (set f2 (fn (a b) (+ a b)))
- (puts (f1 6))
- (puts (f2 20 40))
- (f1 (f2 2 1)))
+(set f1 (fn (a) (* a a)))
+(set f2 (fn (a b) (+ a b)))
+(puts (f1 6))
+(puts (f2 20 40))
+(f1 (f2 2 1))