Upgrade to ExtUtils-MakeMaker-6.36
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / t / prereq.t
index ae6ac84..e450f08 100644 (file)
@@ -58,7 +58,8 @@ ok( chdir 'Big-Dummy', "chdir'd to Big-Dummy" ) ||
         }
     );
     is $warnings, 
-    "Warning: prerequisite strict 99999 not found. We have $strict::VERSION.\n";
+    sprintf("Warning: prerequisite strict 99999 not found. We have %s.\n",
+            strict->VERSION);
 
     $warnings = '';
     WriteMakefile(
@@ -80,8 +81,8 @@ ok( chdir 'Big-Dummy', "chdir'd to Big-Dummy" ) ||
     );
     is $warnings, 
     "Warning: prerequisite I::Do::Not::Exist 0 not found.\n".
-    "Warning: prerequisite strict 99999 not found. We have $strict::VERSION.\n";
-
+    sprintf("Warning: prerequisite strict 99999 not found. We have %s.\n",
+            strict->VERSION);
     
     $warnings = '';
     eval {