Fixed useclass/requireclass bug in Test::Deep
rkinyon [Fri, 21 Apr 2006 02:30:24 +0000 (02:30 +0000)]
Build.PL
t/17_import.t

index 29d1754..c58c303 100644 (file)
--- a/Build.PL
+++ b/Build.PL
@@ -16,7 +16,7 @@ my $build = Module::Build->new(
     build_requires => {
         'File::Path'      => '0.01',
         'File::Temp'      => '0.01',
-        'Test::Deep'      => '0.094',
+        'Test::Deep'      => '0.095',
         'Test::More'      => '0.47',
         'Test::Exception' => '0.21',
     },
index da407ef..22a2694 100644 (file)
@@ -42,7 +42,7 @@ cmp_deeply(
         hash1 => {
             subkey1 => "subvalue1",
             subkey2 => "subvalue2",
-            subkey3 => Test::Deep::requireclass( bless {}, 'Foo' ),
+            subkey3 => useclass( bless {}, 'Foo' ),
         },
     }),
     "Everything matches",