Remove numbers from our tests
[gitmo/Moose.git] / t / 020_attributes / 023_attribute_names.t
diff --git a/t/020_attributes/023_attribute_names.t b/t/020_attributes/023_attribute_names.t
deleted file mode 100644 (file)
index 2a10043..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use warnings;
-use Test::More;
-use Test::Fatal;
-
-my $exception_regex = qr/You must provide a name for the attribute/;
-{
-    package My::Role;
-    use Moose::Role;
-
-    ::like( ::exception {
-        has;
-    }, $exception_regex, 'has; fails' );
-
-    ::like( ::exception {
-        has undef;
-    }, $exception_regex, 'has undef; fails' );
-
-    ::is( ::exception {
-        has "" => (
-            is => 'bare',
-        );
-    }, undef, 'has ""; works now' );
-
-    ::is( ::exception {
-        has 0 => (
-            is => 'bare',
-        );
-    }, undef, 'has 0; works now' );
-}
-
-{
-    package My::Class;
-    use Moose;
-
-    ::like( ::exception {
-        has;
-    }, $exception_regex, 'has; fails' );
-
-    ::like( ::exception {
-        has undef;
-    }, $exception_regex, 'has undef; fails' );
-
-    ::is( ::exception {
-        has "" => (
-            is => 'bare',
-        );
-    }, undef, 'has ""; works now' );
-
-    ::is( ::exception {
-        has 0 => (
-            is => 'bare',
-        );
-    }, undef, 'has 0; works now' );
-}
-
-done_testing;