redo the currying syntax to get rid of one of the arrayrefs
[gitmo/Moose.git] / t / 070_native_traits / 203_trait_hash.t
index 2ea8001..fe2e649 100644 (file)
@@ -28,7 +28,7 @@ use Test::Moose 'does_ok';
             'option_accessor'  => 'accessor',
             'key_value'        => 'kv',
             'options_elements' => 'elements',
-            'quantity'         => [ accessor => ['quantity'] ],
+            'quantity'         => [ accessor => 'quantity' ],
         },
     );
 }
@@ -157,7 +157,7 @@ is_deeply(
         'option_accessor'  => 'accessor',
         'key_value'        => 'kv',
         'options_elements' => 'elements',
-        'quantity'         => [ accessor => ['quantity'] ],
+        'quantity'         => [ accessor => 'quantity' ],
     },
     '... got the right handles mapping'
 );