fish-shell/tests/math.err
Fabian Homborg 6a38eb4f7d [math] Better error for 2 -
Instead of the catch-all, report too few arguments.
2018-03-01 13:09:35 +01:00

21 lines
365 B
Text

####################
# Validate basic expressions
####################
# Validate how variables in an expression are handled
####################
# Validate math error reporting
math: Error: Too few arguments
'2 - '
^
math: Error: Too few arguments
'ncr(1)'
^
math: Error: Expression is bogus
'max()'
^
math: Error: Too few arguments
'sin()'
^