mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-06 06:01:14 -03:00
[math] Better error for 2 -
Instead of the catch-all, report too few arguments.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
####################
|
||||
# Validate math error reporting
|
||||
math: Error: Expression is bogus
|
||||
math: Error: Too few arguments
|
||||
'2 - '
|
||||
^
|
||||
math: Error: Too few arguments
|
||||
|
||||
Reference in New Issue
Block a user