aboutsummaryrefslogtreecommitdiff
path: root/tests/math/greaterthan
diff options
context:
space:
mode:
authormryouse2022-07-20 21:07:52 +0000
committermryouse2022-07-20 21:07:52 +0000
commit1e3df4f9aac2f95b1476a7507f33a3d9f0e036c5 (patch)
tree478bb7023c0c773119feb77043350ecdf17cadd1 /tests/math/greaterthan
parent87417b58b0c0abd047a85d3e42d037b443b53f47 (diff)
s/:list/:[:any]/ and make leading dot illegal
Diffstat (limited to 'tests/math/greaterthan')
-rw-r--r--tests/math/greaterthan/bad_type_list.neb2
-rw-r--r--tests/math/greaterthan/bad_type_type.neb2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/math/greaterthan/bad_type_list.neb b/tests/math/greaterthan/bad_type_list.neb
index f24a46c..2653cf8 100644
--- a/tests/math/greaterthan/bad_type_list.neb
+++ b/tests/math/greaterthan/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/greaterthan/bad_type_type.neb b/tests/math/greaterthan/bad_type_type.neb
index 3fe2e5b..e1ae882 100644
--- a/tests/math/greaterthan/bad_type_type.neb
+++ b/tests/math/greaterthan/bad_type_type.neb
@@ -1,2 +1,2 @@
-(> .4 :string)
+(> 0.4 :string)
; panic! [1] '>': received :type, expected :number (got :string)