[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-254-g483447c

Ruslan Zakirov ruz at bestpractical.com
Thu Nov 4 19:04:35 EDT 2010


The branch, 3.9-trunk has been updated
       via  483447c754056bc5ea0c2ca5c9658d36e02bdf00 (commit)
      from  d184148a6c8ccfaf180b3f0d3015c1a104c9f07f (commit)

Summary of changes:
 lib/RT/Test/Web.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 483447c754056bc5ea0c2ca5c9658d36e02bdf00
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Thu Nov 4 07:48:20 2010 +0300

    show where in test failure happened, not in the lib

diff --git a/lib/RT/Test/Web.pm b/lib/RT/Test/Web.pm
index 6fac2ef..34fcaa5 100644
--- a/lib/RT/Test/Web.pm
+++ b/lib/RT/Test/Web.pm
@@ -266,6 +266,7 @@ sub ticket_status_is {
     my $id = shift;
     my $status = shift;
     my $desc = shift || "Status of the ticket #$id is '$status'";
+    local $Test::Builder::Level = $Test::Builder::Level + 1;
     return Test::More::is($self->ticket_status( $id), $status, $desc);
 }
 

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


More information about the Rt-commit mailing list