X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F110_sort_usage_by_attr_order.t;h=c424add4842aad39dd575ebd14abfdf918b298d3;hb=e672789158a11f21f9e53b8d66dcfef5306f5973;hp=1e41e793b9f0218d9c93b17ef9937bc72a838061;hpb=73038480bcf3ed44f61511cba4961c5c3613ddad;p=gitmo%2FMooseX-Getopt.git diff --git a/t/110_sort_usage_by_attr_order.t b/t/110_sort_usage_by_attr_order.t index 1e41e79..c424add 100644 --- a/t/110_sort_usage_by_attr_order.t +++ b/t/110_sort_usage_by_attr_order.t @@ -9,8 +9,8 @@ # options added by this class. use strict; use warnings; -use Test::More tests => 1; -use Test::Exception; +use Test::More tests => 2; +use Test::NoWarnings 1.04 ':early'; { package MyClass; @@ -27,13 +27,12 @@ use Test::Exception; my $obj = MyClass->new_with_options(); -my $expected = <usage->text, $expected, 'Usage text has nicely sorted options'); -