From: gfx Date: Mon, 13 Sep 2010 04:54:19 +0000 (+0900) Subject: Add a test X-Git-Tag: 0.69~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=19baa93c12fb50d66b5ab156979a4bc65385aafa;p=gitmo%2FMouse.git Add a test --- 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 index 0000000..c61123a --- /dev/null +++ b/t/900_mouse_bugs/010_use_mouse_before_tb2.t @@ -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'); +} +