Add a test
gfx [Mon, 13 Sep 2010 04:54:19 +0000 (13:54 +0900)]
t/900_mouse_bugs/010_use_mouse_before_tb2.t [new file with mode: 0644]

diff --git a/t/900_mouse_bugs/010_use_mouse_before_tb2.t b/t/900_mouse_bugs/010_use_mouse_before_tb2.t
new file mode 100644 (file)
index 0000000..c61123a
--- /dev/null
@@ -0,0 +1,15 @@
+#!perl -w
+use strict;
+
+my $tb_version = `$^X -e "use Test::Builder; print Test::Builder->VERSION"`;
+if($tb_version == 2.0001 && $] <= 5.010_000) {
+    require Test::More;
+    Test::More::plan( skip_all => 'Test::Builder 2.00_01 has a problem' );
+}
+else {
+    require Mouse;
+    require Test::More;
+    Test::More::plan( tests => 1 );
+    Test::More::pass('loads Test::More after loading Mouse');
+}
+