mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:57:45 +00:00
Shell/Tests: Replace 'type f -f' with 'type -f f'
The order of arguments seemed be confusing ArgsParser. Fixes #6467.
This commit is contained in:
parent
061aaa33e8
commit
55914841b7
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ f() { ls }
|
|||
if not [ "$(type f)" = "f is a function f() { ls }" ] { fail "'type' on a function not working" }
|
||||
|
||||
|
||||
if not [ "$(type f -f)" = "f is a function" ] { fail "'type' on a function not working with -f" }
|
||||
if not [ "$(type -f f)" = "f is a function" ] { fail "'type' on a function not working with -f" }
|
||||
|
||||
alias l=ls
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue