Removed _fh() method from DBM::Deep and refactored appropriately
[dbsrgits/DBM-Deep.git] / t / 26_scalar_ref.t
index d04b439..7f6e3e7 100644 (file)
@@ -28,7 +28,7 @@ my $x = 25;
     'Storage of code refs not supported';
 
     throws_ok {
-        $db->{scalarref} = $db->_get_self->_fh;
+        $db->{scalarref} = $fh;
     } qr/Storage of references of type 'GLOB' is not supported/,
     'Storage of glob refs not supported';