Changeset 869


Ignore:
Timestamp:
11/10/08 12:27:19 (3 years ago)
Author:
szabgab
Message:

fix plugin manager test, checking minimum number of plugins as there might be some already installed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/82-plugin-manager.t

    r842 r869  
    2626 
    2727# check if we have the plugins that come with Padre 
    28 is (keys %{$plugin_m1->plugins}, 1); 
     28cmp_ok (keys %{$plugin_m1->plugins}, '>=', 1); 
    2929is $plugin_m1->plugins->{'Development::Tools'},  'Padre::Plugin::Development::Tools'; 
    3030 
     
    4141 
    4242$plugin_m2->_load_plugins_from_inc(); 
    43 is(keys %{$plugin_m2->plugins}, 3, 'correct number of test plugins') 
     43# cannot compare with the exact numbers as there might be plugins already installed 
     44cmp_ok (keys %{$plugin_m2->plugins}, '>=', 3, 'at least 3 plugins') 
    4445    or diag(Dumper(\$plugin_m2->plugins)); 
    4546 
Note: See TracChangeset for help on using the changeset viewer.