forked from pool/perl-Git-Repository
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Git-Repository?expand=0&rev=24
14 lines
402 B
Diff
14 lines
402 B
Diff
--- a/t/20-simple.t
|
|
+++ b/t/20-simple.t
|
|
@@ -85,6 +85,9 @@
|
|
skip "this test does not work with msysgit on Win32", 2
|
|
if $^O eq 'MSWin32';
|
|
|
|
+ skip "'git var GIT_EDITOR' behaviour was changed in git 2.40.0, and we have $version", 2
|
|
+ if Git::Repository->version_ge('2.40.0');
|
|
+
|
|
ok( !eval { $r->run( var => 'GIT_EDITOR' ); 1; }, 'git var GIT_EDITOR' );
|
|
like(
|
|
$@,
|
|
|