Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

don't run template test if target engine isn't installed

  • Loading branch information...
commit 55974a695248159d7e238cadca221f28410a4421 1 parent fabd864
@typester authored
Showing with 6 additions and 0 deletions.
  1. +3 −0  t/view_mt.t
  2. +3 −0  t/view_tt.t
View
3  t/view_mt.t
@@ -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;
View
3  t/view_tt.t
@@ -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;

0 comments on commit 55974a6

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