Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
synch Carp::Heavy version number to Carp
Browse files Browse the repository at this point in the history
Also add a test to make sure it stays synched.
  • Loading branch information
Zefram committed Feb 2, 2012
1 parent 879b0ca commit 2f87dc7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/Carp/lib/Carp/Heavy.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Carp::Heavy;

use Carp ();

our $VERSION = '1.23';
our $VERSION = '1.25';

1;

Expand Down
6 changes: 5 additions & 1 deletion dist/Carp/t/heavy.t
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
print "1..2\n";
print "1..3\n";

print defined(&Carp::carp) ? "not " : "", "ok 1 # control\n";
require Carp::Heavy;
print defined(&Carp::carp) ? "" : "not ", "ok 2 # carp loaded by Carp::Heavy\n";
eval q{
print $Carp::Heavy::VERSION eq $Carp::VERSION ? "" : "not ",
"ok 3 # version numbers match\n";
};

1;

0 comments on commit 2f87dc7

Please sign in to comment.