Skip to content

Commit

Permalink
don't run template test if target engine isn't installed
Browse files Browse the repository at this point in the history
  • Loading branch information
typester committed Nov 5, 2010
1 parent fabd864 commit 55974a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/view_mt.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
use Test::Base;
use FindBin;

eval { require Text::MicroTemplate::Extended; };
plan skip_all => 'this test required Text::MicroTemplate::Extended' if $@;

{
package TestApp;
use Ark;
Expand Down
3 changes: 3 additions & 0 deletions t/view_tt.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
use Test::Base;
use FindBin;

eval { require Template; };
plan skip_all => 'this test required Template-Toolkit' if $@;

{
package TestApp;
use Ark;
Expand Down

0 comments on commit 55974a6

Please sign in to comment.