Fix tests

By changing to flog I inadvertently changed the warning text from "<W>
fish:" to "warning:".

Since that's also okay, let's leave it.
This commit is contained in:
Fabian Homborg 2020-01-19 15:07:06 +01:00
parent 26fa774f44
commit 65397d4f5e
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -1,4 +1,4 @@
<W> fish: An error occurred while redirecting file 'nosuchfile'
warning: An error occurred while redirecting file 'nosuchfile'
open: No such file or directory
<W> fish: An error occurred while redirecting file 'nosuchfile'
warning: An error occurred while redirecting file 'nosuchfile'
open: No such file or directory