Skip to content

Commit c0f822a

Browse files
Fix expectation for bats container
1 parent 805ffb7 commit c0f822a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/70-temp-10-temp_make.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fixtures 'temp'
2727
if [[ "$OSTYPE" == darwin* ]]; then
2828
REGEX="mktemp: mkdtemp failed on $BATS_TMPDIR/.*: No such file or directory"
2929
else
30-
REGEX="mktemp: (failed to create directory via template|\(null\): No such file or directory)"
30+
REGEX="mktemp: (failed to create directory via template|(\(null\): )?No such file or directory)"
3131
fi
3232
[[ ${lines[1]} =~ $REGEX ]] || false
3333
[ "${lines[2]}" == '--' ]

0 commit comments

Comments
 (0)