diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-04-19 03:38:00 +0430 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-19 10:07:58 +0200 |
commit | 55914841b7712c7721eee497986a086fd109259f (patch) | |
tree | cf94b607321ba9e4e44a5f1dc74b5a72da128868 /Userland | |
parent | 061aaa33e8069c79a6f12ac06bb9490ed6470848 (diff) | |
download | serenity-55914841b7712c7721eee497986a086fd109259f.zip |
Shell/Tests: Replace 'type f -f' with 'type -f f'
The order of arguments seemed be confusing ArgsParser.
Fixes #6467.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Shell/Tests/builtin-test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Shell/Tests/builtin-test.sh b/Userland/Shell/Tests/builtin-test.sh index f42761bde2..6060ff3fa6 100644 --- a/Userland/Shell/Tests/builtin-test.sh +++ b/Userland/Shell/Tests/builtin-test.sh @@ -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 |