Subject: | Case changed in error messages in git-2.17 |
before:
sh-4.2$ git --version
git version 2.15.1
sh-4.2$ git status
fatal: Not a git repository (or any of the parent directories): .git
after:
sh-4.4$ git --version
git version 2.17.0
sh-4.4$ git status
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Note the 'Not' changed to 'not'
--8<---
--- t/10-new_fail.t.org 2018-04-16 15:00:49.133198581 +0200
+++ t/10-new_fail.t 2018-04-16 14:41:08.578771042 +0200
@@ -36,7 +36,7 @@ ok( !eval { Git::Repository->new( git_di
);
like(
$@,
- qr/^fatal: Not a git repository/, # error from git itself
+ qr/^fatal: Not a git repository/i, # error from git itself
'... expected error message'
);
@@ -50,7 +50,7 @@ SKIP: {
);
like(
$@,
- qr/^fatal: Not a git repository/, # error from git itself
+ qr/^fatal: Not a git repository/i, # error from git itself
'... expected error message'
);
}
-->8---