diff options
| author | mryouse | 2022-07-20 21:07:52 +0000 |
|---|---|---|
| committer | mryouse | 2022-07-20 21:07:52 +0000 |
| commit | 1e3df4f9aac2f95b1476a7507f33a3d9f0e036c5 (patch) | |
| tree | 478bb7023c0c773119feb77043350ecdf17cadd1 | |
| parent | 87417b58b0c0abd047a85d3e42d037b443b53f47 (diff) | |
s/:list/:[:any]/ and make leading dot illegal
| -rw-r--r-- | tests/math/addition/bad_type_list.neb | 2 | ||||
| -rw-r--r-- | tests/math/addition/bad_type_type.neb | 2 | ||||
| -rw-r--r-- | tests/math/addition/happy.neb | 2 | ||||
| -rw-r--r-- | tests/math/division/bad_type_list.neb | 2 | ||||
| -rw-r--r-- | tests/math/division/bad_type_type.neb | 2 | ||||
| -rw-r--r-- | tests/math/floor/bad_type_list.neb | 2 | ||||
| -rw-r--r-- | tests/math/greaterthan/bad_type_list.neb | 2 | ||||
| -rw-r--r-- | tests/math/greaterthan/bad_type_type.neb | 2 | ||||
| -rw-r--r-- | tests/math/greaterthanequal/bad_type_list.neb | 2 | ||||
| -rw-r--r-- | tests/math/greaterthanequal/bad_type_type.neb | 2 | ||||
| -rw-r--r-- | tests/math/lessthan/bad_type_list.neb | 2 | ||||
| -rw-r--r-- | tests/math/lessthan/bad_type_type.neb | 2 | ||||
| -rw-r--r-- | tests/math/lessthanequal/bad_type_list.neb | 2 | ||||
| -rw-r--r-- | tests/math/lessthanequal/bad_type_type.neb | 2 | ||||
| -rw-r--r-- | tests/math/multiplication/bad_type_list.neb | 2 | ||||
| -rw-r--r-- | tests/math/multiplication/bad_type_type.neb | 2 | ||||
| -rw-r--r-- | tests/math/subtraction/bad_type_list.neb | 2 | ||||
| -rw-r--r-- | tests/math/subtraction/bad_type_type.neb | 2 | ||||
| -rw-r--r-- | tests/math/subtraction/happy.neb | 2 |
19 files changed, 19 insertions, 19 deletions
diff --git a/tests/math/addition/bad_type_list.neb b/tests/math/addition/bad_type_list.neb index cb8a999..f0a70f0 100644 --- a/tests/math/addition/bad_type_list.neb +++ b/tests/math/addition/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/addition/bad_type_type.neb b/tests/math/addition/bad_type_type.neb index 088fefb..9e1b254 100644 --- a/tests/math/addition/bad_type_type.neb +++ b/tests/math/addition/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/addition/happy.neb b/tests/math/addition/happy.neb index 4c037b2..231e01c 100644 --- a/tests/math/addition/happy.neb +++ b/tests/math/addition/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)))) diff --git a/tests/math/division/bad_type_list.neb b/tests/math/division/bad_type_list.neb index e394b7b..4091db6 100644 --- a/tests/math/division/bad_type_list.neb +++ b/tests/math/division/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/division/bad_type_type.neb b/tests/math/division/bad_type_type.neb index c008850..aeec848 100644 --- a/tests/math/division/bad_type_type.neb +++ b/tests/math/division/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/floor/bad_type_list.neb b/tests/math/floor/bad_type_list.neb index a0d3b3b..396fc31 100644 --- a/tests/math/floor/bad_type_list.neb +++ b/tests/math/floor/bad_type_list.neb @@ -1,2 +1,2 @@ (floor (list "hello")) -; panic! [1] 'floor': received :list, expected :number (got ("hello")) +; panic! [1] 'floor': received :[:any], expected :number (got ("hello")) 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) diff --git a/tests/math/greaterthanequal/bad_type_list.neb b/tests/math/greaterthanequal/bad_type_list.neb index b7b9cf8..012fbc7 100644 --- a/tests/math/greaterthanequal/bad_type_list.neb +++ b/tests/math/greaterthanequal/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/greaterthanequal/bad_type_type.neb b/tests/math/greaterthanequal/bad_type_type.neb index ae5b166..4bd6881 100644 --- a/tests/math/greaterthanequal/bad_type_type.neb +++ b/tests/math/greaterthanequal/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/lessthan/bad_type_list.neb b/tests/math/lessthan/bad_type_list.neb index 7b1153c..dd1a05b 100644 --- a/tests/math/lessthan/bad_type_list.neb +++ b/tests/math/lessthan/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/lessthan/bad_type_type.neb b/tests/math/lessthan/bad_type_type.neb index 339d283..6596ffd 100644 --- a/tests/math/lessthan/bad_type_type.neb +++ b/tests/math/lessthan/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/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) diff --git a/tests/math/multiplication/bad_type_list.neb b/tests/math/multiplication/bad_type_list.neb index 9bc8418..17e7982 100644 --- a/tests/math/multiplication/bad_type_list.neb +++ b/tests/math/multiplication/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/multiplication/bad_type_type.neb b/tests/math/multiplication/bad_type_type.neb index 4d0d2d1..2a71f71 100644 --- a/tests/math/multiplication/bad_type_type.neb +++ b/tests/math/multiplication/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/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)))) |
