summaryrefslogtreecommitdiff
path: root/t/03-html.t
diff options
context:
space:
mode:
Diffstat (limited to 't/03-html.t')
-rw-r--r--t/03-html.t7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/03-html.t b/t/03-html.t
index 8504c90..27cac64 100644
--- a/t/03-html.t
+++ b/t/03-html.t
@@ -1,5 +1,10 @@
#!perl
-use Test::Most 'no_plan','die';
+use Test::Most 'die';
+BEGIN {
+eval 'use HTML::Element';
+plan skip_all => 'HTML::Element needed for this test' if $@;
+}
+plan tests => 1;
use strict;
use warnings;
use Tree::Template::Declare options => {builder => '+HTML_Element'};