diff options
Diffstat (limited to 't/spin/errors.t')
-rwxr-xr-x | t/spin/errors.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/spin/errors.t b/t/spin/errors.t index d4cc565..c6e1ce6 100755 --- a/t/spin/errors.t +++ b/t/spin/errors.t @@ -43,5 +43,5 @@ my ($stdout, $stderr) = capture { # Simplify the file name, and then check against the expected output. $stderr =~ s{ ^ [^:]+/errors[.]th: }{errors.th:}xmsg; -$stderr =~ s{ (cannot [ ] stat [^:]+): .* }{$1\n}xms; +$stderr =~ s{ (cannot [ ] stat [ ] file [ ]) /[^:]+/([^/:]+) : .* }{$1$2\n}xms; is($stderr, $EXPECTED_ERRORS, 'errors are correct'); |