From: Rafael Kitover Date: Thu, 31 Dec 2009 02:19:13 +0000 (+0000) Subject: minor test cleanup X-Git-Tag: 0.04999_13~14^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b72193515784d50263ec8d5a74ae467d8072ce0f;p=dbsrgits%2FDBIx-Class-Schema-Loader.git minor test cleanup --- diff --git a/t/20invocations.t b/t/20invocations.t index 474133d..810c63c 100644 --- a/t/20invocations.t +++ b/t/20invocations.t @@ -135,6 +135,11 @@ while(@invocations >= 2) { test_schema($style, &$subref); } -is($DBICTest::Schema::13::Foo::skip_me, "bad mojo", "skip_load_external_1 skip_me"); -is($DBICTest::Schema::14::Foo::skip_me, undef, "skip_load_external_2 skip_me"); +{ + no warnings 'once'; + is($DBICTest::Schema::13::Foo::skip_me, "bad mojo", + "external content loaded"); + is($DBICTest::Schema::14::Foo::skip_me, undef, + "external content not loaded with skip_load_external => 1"); +}