[Bps-public-commit] r12059 - in Prophet/trunk: .

jesse at bestpractical.com jesse at bestpractical.com
Sun May 4 20:35:32 EDT 2008


Author: jesse
Date: Sun May  4 20:35:31 2008
New Revision: 12059

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/Test.pm

Log:
 r30433 at 31b:  jesse | 2008-05-04 20:33:34 -0400
 * we weren't using run_output_matches correctly. fix the test sub to match usage


Modified: Prophet/trunk/lib/Prophet/Test.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Test.pm	(original)
+++ Prophet/trunk/lib/Prophet/Test.pm	Sun May  4 20:35:31 2008
@@ -170,10 +170,10 @@
 }
 
 sub run_output_matches {
-    my ( $script, $args, $expected, $msg ) = @_;
+    my ( $script, $args, $expected, $stderr, $msg ) = @_;
     Test::Builder->new->level(2);
     lives_and {
-        @_ = ( $script, $args, $expected, [], $msg );
+        @_ = ( $script, $args, $expected, $stderr, $msg );
         goto \&is_script_output;
     };
 



More information about the Bps-public-commit mailing list