remove trailing whitespace
[gitmo/Moose.git] / t / 010_basics / 007_always_strict_warnings.t
index b81588c..bcac522 100644 (file)
@@ -6,19 +6,19 @@ use Test::More tests => 10;
 {
     package Foo;
     use Moose;
-    
+
     eval '$foo = 5;';
     ::ok($@, '... got an error because strict is on');
     ::like($@, qr/Global symbol \"\$foo\" requires explicit package name at/, '... got the right error');
-    
+
     {
         my $warn;
         local $SIG{__WARN__} = sub { $warn = $_[0] };
 
         ::ok(!$warn, '... no warning yet');
-                
+
         eval 'my $bar = 1 + "hello"';
-        
+
         ::ok($warn, '... got a warning');
         ::like($warn, qr/Argument \"hello\" isn\'t numeric in addition \(\+\)/, '.. and it is the right warning');
     }
@@ -28,19 +28,19 @@ use Test::More tests => 10;
 {
     package Bar;
     use Moose::Role;
-    
+
     eval '$foo = 5;';
     ::ok($@, '... got an error because strict is on');
     ::like($@, qr/Global symbol \"\$foo\" requires explicit package name at/, '... got the right error');
-    
+
     {
         my $warn;
         local $SIG{__WARN__} = sub { $warn = $_[0] };
 
         ::ok(!$warn, '... no warning yet');
-                
+
         eval 'my $bar = 1 + "hello"';
-        
+
         ::ok($warn, '... got a warning');
         ::like($warn, qr/Argument \"hello\" isn\'t numeric in addition \(\+\)/, '.. and it is the right warning');
     }