summaryrefslogtreecommitdiff
path: root/tests/fizzbuzz.bth
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fizzbuzz.bth')
-rw-r--r--tests/fizzbuzz.bth4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fizzbuzz.bth b/tests/fizzbuzz.bth
index 2837b55..a94e4e1 100644
--- a/tests/fizzbuzz.bth
+++ b/tests/fizzbuzz.bth
@@ -1,9 +1,9 @@
-(set n 1)
+(set! n 1)
(while (< n 30)
(say
(if (= 0 (% n 5))
(if (= 0 (% n 3)) "fizzbuzz" "buzz")
(if (= 0 (% n 3)) "fizz" n)))
- (set n (+ n 1)))
+ (set! n (+ n 1)))