Now handles => qr/regex/ is supported
[gitmo/Mouse.git] / t / 001_mouse / 019-handles.t
index 9208a3c..d9bb7c3 100644 (file)
@@ -1,7 +1,7 @@
 #!/usr/bin/env perl
 use strict;
 use warnings;
-use Test::More tests => 28;
+use Test::More tests => 27;
 use Test::Exception;
 
 do {
@@ -61,16 +61,6 @@ do {
     TODO: {
         local our $TODO = "Mouse lacks this";
         eval {
-            has error3 => (
-                handles => qr/regex/,
-            );
-        };
-        ::ok(!$@, "handles => qr/re/");
-    }
-
-    TODO: {
-        local our $TODO = "Mouse lacks this";
-        eval {
             has error4 => (
                 handles => sub { "code" },
             );