diff --git a/tests/checks/function.fish b/tests/checks/function.fish index 51a3b3a32..58a7d99a5 100644 --- a/tests/checks/function.fish +++ b/tests/checks/function.fish @@ -6,7 +6,7 @@ end function t2 --argument-names a b c --no-scope-shadowing echo t2 end -#CHECKERR: function.fish (line {{\d+}}): function: Variable name '--no-scope-shadowing' is not valid. See `help identifiers`. +#CHECKERR: {{.*/?}}function.fish (line {{\d+}}): function: Variable name '--no-scope-shadowing' is not valid. See `help identifiers`. #CHECKERR: function t2 --argument-names a b c --no-scope-shadowing #CHECKERR: ^