This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Correct the arguments to MBTest->tmpdir() to reflect implementation changes.
authorNicholas Clark <nick@ccl4.org>
Wed, 18 Nov 2009 09:52:12 +0000 (09:52 +0000)
committerNicholas Clark <nick@ccl4.org>
Wed, 18 Nov 2009 09:52:12 +0000 (09:52 +0000)
cpan/Module-Build/t/xs.t

index 6d167c8..9471c1a 100644 (file)
@@ -24,7 +24,7 @@ blib_load('Module::Build');
     plan tests => 20;
   }
   require Cwd;
-  $tmp = MBTest->tmpdir( $tmp_exec ? undef : Cwd::cwd );
+  $tmp = MBTest->tmpdir( $tmp_exec ? () : (DIR => Cwd::cwd) );
 }