Revert "Whitespace trim tests", this was clearly retarded of
[gitmo/MooseX-Storage.git] / t / 030_with_checksum.t
index 842f7fe..9892500 100644 (file)
@@ -9,9 +9,9 @@ use Test::Deep;
 
 BEGIN {
     eval "use Digest; use Digest::SHA1";
-    plan skip_all => "Digest and Digest::SHA1 is required for this test" if $@;
+    plan skip_all => "Digest and Digest::SHA1 is required for this test" if $@; 
     eval "use JSON::Any";
-    plan skip_all => "JSON::Any is required for this test" if $@; 
+    plan skip_all => "JSON::Any is required for this test" if $@;              
     plan tests => 26;
     use_ok('MooseX::Storage');
 }
@@ -42,9 +42,9 @@ BEGIN {
         object => Foo->new( number => 2 ),
     );
     isa_ok( $foo, 'Foo' );
-
+    
     my $packed = $foo->pack;
-
+    
     cmp_deeply(
         $packed,
         {
@@ -55,11 +55,11 @@ BEGIN {
             float     => 10.5,
             array     => [ 1 .. 10 ],
             hash      => { map { $_ => undef } ( 1 .. 10 ) },
-            object    => {
-                            __CLASS__ => 'Foo',
-                            __DIGEST__  => re('[0-9a-f]+'),
-                            number    => 2
-                         },
+            object    => { 
+                            __CLASS__ => 'Foo', 
+                            __DIGEST__  => re('[0-9a-f]+'),               
+                            number    => 2 
+                         },            
         },
         '... got the right frozen class'
     );
@@ -69,7 +69,7 @@ BEGIN {
         $foo2 = Foo->unpack($packed);
     } '... unpacked okay';
     isa_ok($foo2, 'Foo');
-
+    
     cmp_deeply(
         $foo2->pack,
         {
@@ -80,14 +80,14 @@ BEGIN {
             float     => 10.5,
             array     => [ 1 .. 10 ],
             hash      => { map { $_ => undef } ( 1 .. 10 ) },
-            object    => {
-                            __CLASS__ => 'Foo',
-                            __DIGEST__  => re('[0-9a-f]+'),
-                            number    => 2
-                         },
+            object    => { 
+                            __CLASS__ => 'Foo', 
+                            __DIGEST__  => re('[0-9a-f]+'),               
+                            number    => 2 
+                         },            
         },
         '... got the right frozen class'
-    );
+    );    
 }
 
 {