mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 04:50:29 +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
Notes:
sideshowbarker
2024-07-18 19:24:40 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/55914841b77 Pull-request: https://github.com/SerenityOS/serenity/pull/6468 Issue: https://github.com/SerenityOS/serenity/issues/6465 Issue: https://github.com/SerenityOS/serenity/issues/6467
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…
Reference in a new issue