Skip to content

Commit

Permalink
test requires YAML::XS
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Sep 21, 2011
1 parent b6a559b commit 6c645dd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions t/sample.t
@@ -1,5 +1,9 @@
use Test::More tests => 1;
use YAML::XS;
use Test::More;

eval "use YAML::XS; 1" or
plan skip_all => 'YAML::XS required';

plan tests => 1;

my $grammar1 = <<'...';
contact:
Expand Down

0 comments on commit 6c645dd

Please sign in to comment.