Files
fish-shell/tests/math.err
Fabian Homborg 20af969aba [math] Adjust tests for new error reporting
This shows how it's still weird - "2 - " and "max()" return the same
error.
2018-03-01 13:09:35 +01:00

22 lines
367 B
Plaintext

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