From: Fuji, Goro Date: Mon, 21 Feb 2011 01:38:33 +0000 (+0900) Subject: Workaround a Test::Builder2 (2.00_06)'s threading issue. X-Git-Tag: 0.90~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9e69967c28f2cd597d23572220fe675570ec1821;p=gitmo%2FMouse.git Workaround a Test::Builder2 (2.00_06)'s threading issue. --- diff --git a/t/001_mouse/060-threads.t b/t/001_mouse/060-threads.t index 1fb4c62..969d544 100644 --- a/t/001_mouse/060-threads.t +++ b/t/001_mouse/060-threads.t @@ -9,6 +9,7 @@ use if !HAS_THREADS, 'Test::More', use if $Test::More::VERSION == 2.00_01, 'Test::More', (skip_all => "Test::Builder2 2.00_01 has bugs about threads"); +pass 'dummy test for Test::Builder 2.00_06'; { package MyTraits; @@ -32,6 +33,7 @@ use if $Test::More::VERSION == 2.00_01, 'Test::More', traits => [qw(MyTraits)], ); } +pass; my $o = MyClass->new(foo => Foo->new(value => 42)); threads->create(sub{