Skip to content

Commit

Permalink
fix test case for git >= 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mschout committed Mar 17, 2010
1 parent f0b205a commit 4a16fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ok(my $e = $@, "got an error");
if ($git->version lt '1.6') {
like($e, qr/which does not exist/);
} else {
like($e, qr/is not a git-command/);
like($e, qr/is not a git[- ]command/);
}

my $date = strftime("%Y-%m-%d %H:%M:%S %z", localtime($time));
Expand Down

0 comments on commit 4a16fb5

Please sign in to comment.