Changeset 322


Ignore:
Timestamp:
Jun 6, 2006, 11:22:14 AM (14 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 edited

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;
Note: See TracChangeset for help on using the changeset viewer.