1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:17:35 +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:
Ali Mohammad Pur 2021-04-19 03:38:00 +04:30 committed by Linus Groh
parent 061aaa33e8
commit 55914841b7

View file

@ -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