From ff18b2a09a1dba5446ca523fb3f53e68c6e830cc Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 8 Oct 2019 18:36:50 +0200 Subject: [PATCH] Fix tests This didn't account for the path differing from when I ran the test manually. Sorry! --- tests/checks/function.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: ^