mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 17:31:14 -03:00
Fix error for vararg functions with zero arguments
This commit is contained in:
@@ -109,6 +109,11 @@ not math 'ncr(1)'
|
||||
# CHECKERR: 'ncr(1)'
|
||||
# CHECKERR: ^
|
||||
|
||||
math "min()"
|
||||
# CHECKERR: math: Error: Too few arguments
|
||||
# CHECKERR: 'min()'
|
||||
# CHECKERR: ^
|
||||
|
||||
# There is no "blah" function.
|
||||
not math 'blah()'
|
||||
# CHECKERR: math: Error: Unknown function
|
||||
|
||||
Reference in New Issue
Block a user