r11687@rob-kinyons-powerbook58: rob | 2006-04-29 23:33:57 -0400
rkinyon [Wed, 10 May 2006 19:46:31 +0000 (19:46 +0000)]
 Added the failing test for import() tying stuff when it shouldn't

t/17_import.t

index e0bd089..eeb8688 100644 (file)
@@ -35,7 +35,7 @@ $db->import( $struct );
 
 cmp_deeply(
     $db,
-    {
+    noclass({
         key1 => 'value1',
         key2 => 'value2',
         array1 => [ 'elem0', 'elem1', 'elem2', ],
@@ -44,7 +44,7 @@ cmp_deeply(
             subkey2 => "subvalue2",
             subkey3 => useclass( bless {}, 'Foo' ),
         },
-    },
+    }),
     "Everything matches",
 );