aboutsummaryrefslogtreecommitdiff
path: root/tests/math/subtraction
diff options
context:
space:
mode:
Diffstat (limited to 'tests/math/subtraction')
-rw-r--r--tests/math/subtraction/bad_type_list.neb2
-rw-r--r--tests/math/subtraction/bad_type_type.neb2
-rw-r--r--tests/math/subtraction/happy.neb2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/math/subtraction/bad_type_list.neb b/tests/math/subtraction/bad_type_list.neb
index e06685e..effa82e 100644
--- a/tests/math/subtraction/bad_type_list.neb
+++ b/tests/math/subtraction/bad_type_list.neb
@@ -1,2 +1,2 @@
(- 4 (list "hello"))
-; panic! [1] '-': received :list, expected :number (got ("hello"))
+; panic! [1] '-': received :[:any], expected :number (got ("hello"))
diff --git a/tests/math/subtraction/bad_type_type.neb b/tests/math/subtraction/bad_type_type.neb
index 7bb72aa..7342ae7 100644
--- a/tests/math/subtraction/bad_type_type.neb
+++ b/tests/math/subtraction/bad_type_type.neb
@@ -1,2 +1,2 @@
-(- .4 :string)
+(- 0.4 :string)
; panic! [1] '-': received :type, expected :number (got :string)
diff --git a/tests/math/subtraction/happy.neb b/tests/math/subtraction/happy.neb
index 035b83c..3a38aaa 100644
--- a/tests/math/subtraction/happy.neb
+++ b/tests/math/subtraction/happy.neb
@@ -2,7 +2,7 @@
(concat
(->string (- 2)) " "
(->string (- 4 5)) " "
- (->string (- .9)) " "
+ (->string (- 0.9)) " "
(->string (- 2.9 4)) " "
(->string (- 2 4.5)) " "
(->string (- 6 7 8 15))))