summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/lib/Tie/Hash.t
blob: c7b4ebe63fa354c9b894cc2d0f32a7ef5f30750b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!./perl

# These tests are not complete. Patches welcome.

use Test::More tests => 3;

BEGIN {use_ok( 'Tie::Hash' )};

# these are "abstract virtual" parent methods
for my $method (qw( TIEHASH EXISTS )) {
	eval { Tie::Hash->$method() };
	like( $@, qr/doesn't define an? $method/, "croaks on inherited $method()" );
}