From 65397d4f5efd74e09dd59f574ac3acb87f1fc755 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 19 Jan 2020 15:07:06 +0100 Subject: [PATCH] Fix tests By changing to flog I inadvertently changed the warning text from " fish:" to "warning:". Since that's also okay, let's leave it. --- tests/checks/directory-redirect.fish | 2 +- tests/test_exec_fail.err | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/checks/directory-redirect.fish b/tests/checks/directory-redirect.fish index 003bb7666..b3219b6fb 100644 --- a/tests/checks/directory-redirect.fish +++ b/tests/checks/directory-redirect.fish @@ -3,7 +3,7 @@ begin end >. status -b; and echo "status -b returned true after bad redirect on a begin block" # Note that we sometimes get fancy quotation marks here, so let's match three characters -#CHECKERR: fish: An error occurred while redirecting file {{...}} +#CHECKERR: warning: An error occurred while redirecting file {{...}} #CHECKERR: {{open: Is a directory|open: Invalid argument}} echo $status #CHECK: 1 diff --git a/tests/test_exec_fail.err b/tests/test_exec_fail.err index 6a3453fce..e2c8dd99f 100644 --- a/tests/test_exec_fail.err +++ b/tests/test_exec_fail.err @@ -1,4 +1,4 @@ - fish: An error occurred while redirecting file 'nosuchfile' +warning: An error occurred while redirecting file 'nosuchfile' open: No such file or directory - fish: An error occurred while redirecting file 'nosuchfile' +warning: An error occurred while redirecting file 'nosuchfile' open: No such file or directory