Skip to content
Browse files

Excluded DDG tests for user installing directly from CPAN first

  • Loading branch information...
1 parent d3f05ac commit 0607b841968dea8a03c697b5ca07f3009ddfb847 @Getty Getty committed Feb 15, 2013
Showing with 2 additions and 4 deletions.
  1. +2 −4 t/app_duckpan.t
View
6 t/app_duckpan.t
@@ -31,14 +31,12 @@ is($app->perl->get_local_version('App::DuckPAN'),$version,'Checking get_local_ve
isa_ok($app->help,'App::DuckPAN::Help');
###############################################################
-isa_ok($app->ddg,'App::DuckPAN::DDG');
-
-###############################################################
isa_ok($app->cfg,'App::DuckPAN::Config');
SKIP: {
- skip "No DDG installed yet", 1 unless try_load_class('DDG');
+ skip "No DDG installed yet", 2 unless try_load_class('DDG');
my $ddg_version = $DDG::VERSION;
+ isa_ok($app->ddg,'App::DuckPAN::DDG');
is($app->get_local_ddg_version,$ddg_version,'Checking get_local_ddg_version');
}

0 comments on commit 0607b84

Please sign in to comment.
Something went wrong with that request. Please try again.