Skip to content

Commit

Permalink
skip highlight test if highlighter not found
Browse files Browse the repository at this point in the history
I thought I did this... I'm going to write a test that tests all these
things...

Fixes #426
  • Loading branch information
preaction committed Jan 3, 2016
1 parent 0992208 commit 7584044
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/plugin/highlight.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@

use Statocles::Base 'Test';

BEGIN {
eval { require Syntax::Highlight::Plugin::Kate; 1 } or plan skip_all => 'Syntax::Highlight::Plugin::Kate needed';
};

use Statocles::Plugin::Highlight;
my $SHARE_DIR = path( __DIR__, '..', 'share' );

Expand Down

0 comments on commit 7584044

Please sign in to comment.