Merge some tests to one file
[gitmo/Mouse.git] / t / 001_mouse / 002-warnings.t
diff --git a/t/001_mouse/002-warnings.t b/t/001_mouse/002-warnings.t
deleted file mode 100644 (file)
index f5195aa..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env perl
-use Test::More tests => 1;
-
-# we used to use Test::Warn here but there's no point in adding three deps total
-# for this one easy test
-
-my @warnings;
-local $SIG{__WARN__} = sub {
-    push @warnings, "@_";
-};
-
-do {
-    package Class;
-    use Mouse;
-
-    my $one = 1 + undef;
-};
-
-like("@warnings", qr/^Use of uninitialized value/, 'using Mouse turns on warnings');
-