summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/version.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/version.t b/lib/version.t
index 0bb0185067..bfb9c463a7 100644
--- a/lib/version.t
+++ b/lib/version.t
@@ -8,7 +8,10 @@ use Test::More tests => 183;
diag "Tests with base class" unless $ENV{PERL_CORE};
-use_ok("version"); # If we made it this far, we are ok.
+BEGIN {
+ use_ok("version", 0.30); # If we made it this far, we are ok.
+}
+
BaseTests("version");
diag "Tests with empty derived class" unless $ENV{PERL_CORE};