Resolve many 'failing' tests
[gitmo/Mouse.git] / t / 020_attributes / failing / 018_no_init_arg.t
diff --git a/t/020_attributes/failing/018_no_init_arg.t b/t/020_attributes/failing/018_no_init_arg.t
deleted file mode 100644 (file)
index 40b53cc..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use warnings;
-
-use Test::More tests => 4;
-use Test::Exception;
-
-
-
-{
-    package Foo;
-    use Mouse;
-
-    eval {
-        has 'foo' => (
-            is => "rw",
-            init_arg => undef,
-        );
-    };
-    ::ok(!$@, '... created the attr okay');
-}
-
-{
-    my $foo = Foo->new( foo => "bar" );
-    isa_ok($foo, 'Foo');
-
-    is( $foo->foo, undef, "field is not set via init arg" );
-
-    $foo->foo("blah");
-
-    is( $foo->foo, "blah", "field is set via setter" );
-}