Changeset 322

Show
Ignore:
Timestamp:
06/06/06 11:22:14 (6 years ago)
Author:
nick
Message:

Correctly calculate (and skip) the number of tests when test::mockobject isn't installed

Location:
wiki-toolkit/trunk/t
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • wiki-toolkit/trunk/t/150_plugins.t

    r226 r322  
    1414    SKIP: { 
    1515        eval { require Test::MockObject; }; 
    16         skip "Test::MockObject not installed", 9 if $@; 
     16        skip "Test::MockObject not installed", 28 if $@; 
    1717 
    1818        my $null_plugin = Test::MockObject->new; 
  • wiki-toolkit/trunk/t/152_pre_plugin_approval.t

    r302 r322  
    1414    SKIP: { 
    1515        eval { require Test::MockObject; }; 
    16         skip "Test::MockObject not installed", 9 if $@; 
     16        skip "Test::MockObject not installed", 12 if $@; 
    1717 
    1818        my $null_plugin = Test::MockObject->new;