DEATH TO ALL zionist ELLIPSES
[gitmo/Moose.git] / t / 030_roles / 012_method_exclusion_in_composition.t
index 8c3456e..526d0aa 100644 (file)
@@ -23,7 +23,7 @@ use Test::Exception;
 }
 
 ok(My::Class->meta->has_method($_), "we have a $_ method") for qw(foo baz);
-ok(!My::Class->meta->has_method('bar'), '... but we excluded bar');
+ok(!My::Class->meta->has_method('bar'), 'but we excluded bar');
 
 {
     package My::OtherRole;
@@ -37,8 +37,8 @@ ok(!My::Class->meta->has_method('bar'), '... but we excluded bar');
 
 ok(My::OtherRole->meta->has_method($_), "we have a $_ method") for qw(foo bar baz);
 
-ok(!My::OtherRole->meta->requires_method('foo'), '... and the &foo method is not required');
-ok(My::OtherRole->meta->requires_method('bar'), '... and the &bar method is required');
+ok(!My::OtherRole->meta->requires_method('foo'), 'and the &foo method is not required');
+ok(My::OtherRole->meta->requires_method('bar'), 'and the &bar method is required');
 
 {
     package Foo::Role;
@@ -63,7 +63,7 @@ ok(My::OtherRole->meta->requires_method('bar'), '... and the &bar method is requ
         with 'Foo::Role' => { -excludes => 'foo' },
              'Bar::Role' => { -excludes => 'foo' },
              'Baz::Role';
-    } '... composed our roles correctly';
+    } 'composed our roles correctly';
 
     package My::Foo::Class::Broken;
     use Moose;
@@ -73,14 +73,14 @@ ok(My::OtherRole->meta->requires_method('bar'), '... and the &bar method is requ
              'Bar::Role' => { -excludes => 'foo' },
              'Baz::Role';
     } qr/Due to a method name conflict in roles 'Baz::Role' and 'Foo::Role', the method 'foo' must be implemented or excluded by 'My::Foo::Class::Broken'/,
-      '... composed our roles correctly';
+      'composed our roles correctly';
 }
 
 {
     my $foo = My::Foo::Class->new;
     isa_ok($foo, 'My::Foo::Class');
     can_ok($foo, 'foo');
-    is($foo->foo, 'Baz::Role::foo', '... got the right method');
+    is($foo->foo, 'Baz::Role::foo', 'got the right method');
 }
 
 {
@@ -91,11 +91,11 @@ ok(My::OtherRole->meta->requires_method('bar'), '... and the &bar method is requ
         with 'Foo::Role' => { -excludes => 'foo' },
              'Bar::Role' => { -excludes => 'foo' },
              'Baz::Role';
-    } '... composed our roles correctly';
+    } 'composed our roles correctly';
 }
 
 ok(My::Foo::Role->meta->has_method('foo'), "we have a foo method");
-ok(!My::Foo::Role->meta->requires_method('foo'), '... and the &foo method is not required');
+ok(!My::Foo::Role->meta->requires_method('foo'), 'and the &foo method is not required');
 
 {
     package My::Foo::Role::Other;
@@ -105,11 +105,11 @@ ok(!My::Foo::Role->meta->requires_method('foo'), '... and the &foo method is not
         with 'Foo::Role',
              'Bar::Role' => { -excludes => 'foo' },
              'Baz::Role';
-    } '... composed our roles correctly';
+    } 'composed our roles correctly';
 }
 
 ok(!My::Foo::Role::Other->meta->has_method('foo'), "we dont have a foo method");
-ok(My::Foo::Role::Other->meta->requires_method('foo'), '... and the &foo method is required');
+ok(My::Foo::Role::Other->meta->requires_method('foo'), 'and the &foo method is required');