~ubuntu-branches/ubuntu/hoary/libtie-dxhash-perl/hoary

« back to all changes in this revision

Viewing changes to t/destroy.t

  • Committer: Bazaar Package Importer
  • Author(s): Ivan Kohler
  • Date: 2003-04-01 23:49:44 UTC
  • Revision ID: james.westby@ubuntu.com-20030401234944-obb762g3dc0a7e35
Tags: upstream-0.93
ImportĀ upstreamĀ versionĀ 0.93

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package Tie::DxHash::Child;
 
2
 
 
3
use strict;
 
4
use vars qw(@ISA);
 
5
 
 
6
use Test;
 
7
BEGIN { plan tests => 2 }
 
8
 
 
9
use Tie::DxHash;
 
10
@ISA = qw(Tie::DxHash);
 
11
 
 
12
my(%obj);
 
13
 
 
14
tie %obj, 'Tie::DxHash::Child';
 
15
%obj = (r => 'red', g => 'green', g => 'greenish', b => 'blue');
 
16
undef %obj;
 
17
 
 
18
ok(1);
 
19
ok(keys %obj, 0);