fix moose-nonmoose-moose metaclass compat stuff
[gitmo/Moose.git] / t / 600_todo_tests / 005_moose_and_threads.t
index 112e7bd..be3dd26 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More no_plan => 1;
+use Test::More tests => 1;
 use Test::Exception;
 
 
@@ -15,21 +15,21 @@ See this for some details:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476579
 
 Here is the basic test case, it segfaults, so I am going
-to leave it commented out. Basically it seems that there 
-is some bad interaction between the ??{} construct that 
+to leave it commented out. Basically it seems that there
+is some bad interaction between the ??{} construct that
 is used in the "parser" for type definitions and threading
 so probably the fix would involve removing the ??{} usage
 for something else.
 
-use threads; 
+use threads;
 
 {
-    package Foo; 
-    use Moose; 
-    has "bar" => (is => 'rw', isa => "Str | Num"); 
+    package Foo;
+    use Moose;
+    has "bar" => (is => 'rw', isa => "Str | Num");
 }
 
-my $thr = threads->create(sub {}); 
+my $thr = threads->create(sub {});
 $thr->join();
 
 =cut