From 1e3df4f9aac2f95b1476a7507f33a3d9f0e036c5 Mon Sep 17 00:00:00 2001 From: mryouse Date: Wed, 20 Jul 2022 21:07:52 +0000 Subject: s/:list/:[:any]/ and make leading dot illegal --- tests/math/lessthanequal/bad_type_list.neb | 2 +- tests/math/lessthanequal/bad_type_type.neb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/math/lessthanequal') diff --git a/tests/math/lessthanequal/bad_type_list.neb b/tests/math/lessthanequal/bad_type_list.neb index 530c8cc..c404027 100644 --- a/tests/math/lessthanequal/bad_type_list.neb +++ b/tests/math/lessthanequal/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/lessthanequal/bad_type_type.neb b/tests/math/lessthanequal/bad_type_type.neb index 7ebbe12..3876b8c 100644 --- a/tests/math/lessthanequal/bad_type_type.neb +++ b/tests/math/lessthanequal/bad_type_type.neb @@ -1,2 +1,2 @@ -(<= .4 :string) +(<= 0.4 :string) ; panic! [1] '<=': received :type, expected :number (got :string) -- cgit v1.2.3