[Rt-commit] rt branch, 4.0/test-warnings, updated. rt-4.0.0-186-gefa8011

Shawn Moore sartak at bestpractical.com
Tue May 3 15:39:36 EDT 2011


The branch, 4.0/test-warnings has been updated
       via  efa80116dac949cd02b273de56b48d4bc83b7e9c (commit)
      from  330fa768e8aa7cb3928d656466fd7c5a27015f72 (commit)

Summary of changes:
 t/web/walk.t |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit efa80116dac949cd02b273de56b48d4bc83b7e9c
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue May 3 15:39:09 2011 -0400

    Make sure we don't generate warnings from walking the menu

diff --git a/t/web/walk.t b/t/web/walk.t
index 5ebe0d4..0f321a5 100644
--- a/t/web/walk.t
+++ b/t/web/walk.t
@@ -72,6 +72,8 @@ sub test_page {
     my $m = shift;
     my $link = shift;
     $m->get_ok( $link, $link );
+    $m->no_warnings_ok($link);
+
     my $tree = HTML::TreeBuilder->new();
     $tree->parse( $m->content );
     $tree->elementify;

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


More information about the Rt-commit mailing list