Revision history for Perl extension MooseX-Singleton
{{$NEXT}}
+ - Fix warnings_once.t to not die if Test::NoWarnings isn't installed (Kaare)
+
+0.28 2011-12-05
- Fix RT Bug #46086, "name used only once" (Thanks chisel for the patch and
the test)
# test script for: https://rt.cpan.org/Ticket/Display.html?id=46086
+use strict;
+use warnings;
+
use Test::More qw(no_plan);
-use Test::NoWarnings;
+use Test::Requires {
+ 'Test::NoWarnings' => 0.01
+};
BEGIN {
package OnlyUsedOnce;