Changeset 2172 for libswish3/trunk/bindings/perl/t/12-stash.t
- Timestamp:
- 09/22/08 00:19:34 (4 months ago)
- Files:
-
- libswish3/trunk/bindings/perl/t/12-stash.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libswish3/trunk/bindings/perl/t/12-stash.t
r2030 r2172 2 2 3 3 { 4 4 5 package MyConfig; 5 6 our @ISA = ('SWISH::3::Config'); 7 6 8 sub DESTROY { 7 9 $_[0]->SUPER::DESTROY; … … 10 12 11 13 use_ok('SWISH::3'); 12 ok(my $s3 = SWISH::3->new( config_class => 'MyConfig' ), "new s3"); 13 ok(my $conf = $s3->config, "get config"); 14 undef $conf; 15 undef $s3; 16 diag("s3 == undef"); 14 ok( my $s3 = SWISH::3->new( config_class => 'MyConfig' ), "new s3" ); 15 ok( my $conf = $s3->config, "get config" );
