]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blobdiff - t/00-load.t
Remove old tests that were wrongly imported
[perl/modules/Variable-Magic.git] / t / 00-load.t
index 14ed036eb1ff136cda2fcb01b9c5a92f115cd1bd..0abe93caae9d731dedce1877206addace7c643d1 100644 (file)
@@ -1,9 +1,16 @@
 #!perl -T
 
+use strict;
+use warnings;
+
+use Config;
+
 use Test::More tests => 1;
 
 BEGIN {
        use_ok( 'Variable::Magic' );
 }
 
-diag( "Testing Variable::Magic $Variable::Magic::VERSION, Perl $], $^X" );
+my $p = $Config::Config{perl_patchlevel};
+$p = $p ? 'patchlevel ' . int $p : 'no patchlevel';
+diag( "Testing Variable::Magic $Variable::Magic::VERSION, Perl $] ($p), $^X" );