Skip to content

Commit

Permalink
Fix expectation for bats container
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-schulze-vireso committed May 25, 2023
1 parent 805ffb7 commit c0f822a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/70-temp-10-temp_make.bats
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fixtures 'temp'
if [[ "$OSTYPE" == darwin* ]]; then
REGEX="mktemp: mkdtemp failed on $BATS_TMPDIR/.*: No such file or directory"
else
REGEX="mktemp: (failed to create directory via template|\(null\): No such file or directory)"
REGEX="mktemp: (failed to create directory via template|(\(null\): )?No such file or directory)"
fi
[[ ${lines[1]} =~ $REGEX ]] || false
[ "${lines[2]}" == '--' ]
Expand Down

0 comments on commit c0f822a

Please sign in to comment.