diff --git a/Userland/Shell/Tests/builtin-test.sh b/Userland/Shell/Tests/builtin-test.sh index f42761bde2d..6060ff3fa64 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