On Tue Sep 29 21:21:05 2009,
https://me.yahoo.com/a/Fbxg6dsUlvWhwkgRXfNscIv7MqW2cr0t#83027
wrote:
Show quoted text> On Tue Sep 29 21:11:07 2009,
>
https://me.yahoo.com/a/Fbxg6dsUlvWhwkgRXfNscIv7MqW2cr0t#83027
wrote:
Show quoted text> > # Failed test at t/basic.t line 45.
> > # 'git: 'a-command-not-likely-to-exist' is not a
> > git-command. See 'git --help'.
> > # '
> > # doesn't match '(?-xism:which does not exist)'
> > # Looks like you failed 1 test of 10.
>
> on debian/lenny:
>
> $ git --version
> git version 1.5.6.5
> $ git a-command-not-likely-to-exist
> git: 'a-command-not-likely-to-exist' is not a git-command. See 'git
--help'.
Show quoted text>
> in t/basic.t
> eval { $git->a_command_not_likely_to_exist };
> 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/);
> }
>
>
Thanks to mschout this should be fixed in 0.008 heading to CPAN.
Expect a 0.009 soon to clean up some other issues I've found with docs
etc.