mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
math: Complain about unknown *function*, not *variable*
We removed variables from tinyexpr, so we shouldn't use that error.
This commit is contained in:
@@ -127,7 +127,7 @@ math 0x2 # Hex
|
||||
math 5 x 4
|
||||
math 2x 4
|
||||
math 2 x4 # ERROR
|
||||
# CHECKERR: math: Error: Unknown variable
|
||||
# CHECKERR: math: Error: Unknown function
|
||||
# CHECKERR: '2 x4'
|
||||
# CHECKERR: ^
|
||||
math 0x 3
|
||||
|
||||
Reference in New Issue
Block a user