Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Carp 1.25 changed to incude the period like a regular die message.

For rt.cpan.org 75523
  • Loading branch information...
commit f4ce528277f848beda4ed0a8fce3db7d0ba2c06f 1 parent 9c6cb1d
Zefram authored committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  t/error.t
3  t/error.t
View
@@ -39,8 +39,9 @@ for my $test (@tests) {
eval { gravatar_url( %$args ) };
my $error = $@;
+ $error =~ s/\.\n/\n/;
$want = !$want ? ""
- : sprintf "%s at %s line %d\n", $want, $0, __LINE__ - 4;
+ : sprintf "%s at %s line %d\n", $want, $0, __LINE__ - 5;
my $name = join ", ", map { "$_ => '$args->{$_}'" } keys %$args;
is $error, $want, "gravatar_url($name)";
Please sign in to comment.
Something went wrong with that request. Please try again.