[Bps-public-commit] Test-Script-Run branch, master, updated. 31566222279898dd54d781b5950919f472a71e75

jesse jesse at bestpractical.com
Thu Jun 11 09:35:12 EDT 2009


The branch, master has been updated
       via  31566222279898dd54d781b5950919f472a71e75 (commit)
      from  92d0ab912f5a877490a37e0c2b5128a8642cc159 (commit)

Summary of changes:
 lib/Test/Script/Run.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 31566222279898dd54d781b5950919f472a71e75
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Thu Jun 11 09:34:24 2009 -0400

    Fixing test depth for is_script_output

diff --git a/lib/Test/Script/Run.pm b/lib/Test/Script/Run.pm
index a1f4d6c..d71af9d 100644
--- a/lib/Test/Script/Run.pm
+++ b/lib/Test/Script/Run.pm
@@ -264,7 +264,7 @@ sub run_output_matches {
     my ( $script, $args, $expected, $stderr, $msg ) = @_;
     local $Test::Builder::Level = $Test::Builder::Level + 1;
     lives_and {
-        local $Test::Builder::Level = $Test::Builder::Level + 3;
+        local $Test::Builder::Level = $Test::Builder::Level + 4;
         is_script_output( $script, $args, $expected, $stderr, $msg );
     };
 }

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list