diff --git a/test/70-temp-10-temp_make.bats b/test/70-temp-10-temp_make.bats index f57c670..36554b6 100755 --- a/test/70-temp-10-temp_make.bats +++ b/test/70-temp-10-temp_make.bats @@ -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]}" == '--' ]