mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 22:21:15 -03:00
Add length also for too-many/few-args error
This commit is contained in:
@@ -254,6 +254,11 @@ math pow sin 3, 5
|
||||
# CHECKERR: 'pow sin 3, 5'
|
||||
# CHECKERR: ^
|
||||
|
||||
math pow sin 3, 5 + 2
|
||||
# CHECKERR: math: Error: Too many arguments
|
||||
# CHECKERR: 'pow sin 3, 5 + 2'
|
||||
# CHECKERR: ^~~~^
|
||||
|
||||
math sin pow 3, 5
|
||||
# CHECK: -0.890009
|
||||
|
||||
|
||||
Reference in New Issue
Block a user