mirror of
https://github.com/kanaka/mal.git
synced 2024-09-21 02:27:10 +03:00
Go: modified error messages
This commit is contained in:
parent
ed1819f423
commit
3932a29be3
@ -1,6 +1,6 @@
|
||||
;; Testing evaluation of excessive arguments
|
||||
(+ 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
;=>Error: wrong number of arguments (3 instead of 2)
|
||||
|
||||
;; Valid call
|
||||
(+ 1 2)
|
||||
@ -9,15 +9,15 @@
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+ 1)
|
||||
;=>Error: wrong number of arguments
|
||||
;=>Error: wrong number of arguments (1 instead of 2)
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+)
|
||||
;=>Error: wrong number of arguments
|
||||
;=>Error: wrong number of arguments (0 instead of 2)
|
||||
|
||||
;; Testing evaluation of excessive arguments
|
||||
(= 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
;=>Error: wrong number of arguments (3 instead of 2)
|
||||
|
||||
;; Valid call
|
||||
(= 1 2)
|
||||
@ -26,9 +26,9 @@
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(= 1)
|
||||
;=>Error: wrong number of arguments
|
||||
;=>Error: wrong number of arguments (1 instead of 2)
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(=)
|
||||
;=>Error: wrong number of arguments
|
||||
;=>Error: wrong number of arguments (0 instead of 2)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user