diff options
-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 |