Show
Ignore:
Timestamp:
03/28/08 14:14:26 (5 years ago)
Author:
nekokak
Message:

add test case and etc. thanks to tokuhirom.

Location:
lang/perl/Test-Declare
Files:
3 added
3 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Test-Declare/MANIFEST

    r8439 r8465  
    2323README 
    2424t/00_compile.t 
     25t/01_base.t 
     26t/02_test_more.t 
     27t/03_test_exception.t 
    2528t/pod.t 
  • lang/perl/Test-Declare/lib/Test/Declare.pm

    r8439 r8465  
    3030    init cleanup run test describe 
    3131    is_deeply_array 
    32     dies_ok 
     32    dies_ok throws_ok 
    3333    is is_deeply like 
    3434    isa_ok 
     
    8484            my ($actual, $expected, $name) = @_; 
    8585            my $test_more_code = "Test\::More"->can($sub); 
    86             &$test_more_code( $actual, $expected, $name||$test_block_name); 
     86            goto $test_more_code, $actual, $expected, $name||$test_block_name; 
    8787        } 
    8888    } 
  • lang/perl/Test-Declare/t/00_compile.t

    r8439 r8465  
    1 use strict; 
    2 use Test::More tests => 1; 
     1use Test::Declare; 
     2plan tests => 1; 
    33 
    4 BEGIN { use_ok 'Test::Declare' } 
     4pass 'Test::Declare compiles';