xref: /openbsd-src/gnu/usr.bin/perl/lib/Tie/Hash.t (revision 256a93a44f36679bee503f12e49566c2183f6181)
1#!./perl
2
3# These tests are not complete. Patches welcome.
4
5use Test::More;
6
7BEGIN {use_ok( 'Tie::Hash' )};
8
9# these are "abstract virtual" parent methods
10for my $method (qw( TIEHASH EXISTS )) {
11	eval { Tie::Hash->$method() };
12	like( $@, qr/doesn't define an? $method/, "croaks on inherited $method()" );
13}
14
15done_testing();
16