From 81662aa56b8ad2fa397b1d3e9dd3bb398c7d1798 Mon Sep 17 00:00:00 2001
From: ubq323 <ubq323@ubq323.website>
Date: Fri, 21 Jun 2024 16:01:46 +0100
Subject: print -> puts

---
 tests/fizzbuzz.bth | 2 +-
 tests/vars.bth     | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

(limited to 'tests')

diff --git a/tests/fizzbuzz.bth b/tests/fizzbuzz.bth
index e70c2c1..82e80cf 100644
--- a/tests/fizzbuzz.bth
+++ b/tests/fizzbuzz.bth
@@ -1,7 +1,7 @@
 (do 
  (set n 1)
  (while (< n 30)
-        (print 
+        (puts 
          (if (= 0 (% n 5))
              (if (= 0 (% n 3)) "fizzbuzz" "buzz")
              (if (= 0 (% n 3)) "fizz" n)))
diff --git a/tests/vars.bth b/tests/vars.bth
index 7799acf..a524ae6 100644
--- a/tests/vars.bth
+++ b/tests/vars.bth
@@ -2,8 +2,8 @@
 	(set a 5)
 	(set b 10)
 	(set thethe 1234)
-	(print (+ a b))
-	(print (- thethe a))
-	(print (+ (set a 90) b))
-	(print a)
+	(puts (+ a b))
+	(puts (- thethe a))
+	(puts (+ (set a 90) b))
+	(puts a)
 	nil)
-- 
cgit v1.2.3