summaryrefslogtreecommitdiff
path: root/t/02-synopsis.t
diff options
context:
space:
mode:
Diffstat (limited to 't/02-synopsis.t')
-rw-r--r--t/02-synopsis.t18
1 files changed, 18 insertions, 0 deletions
diff --git a/t/02-synopsis.t b/t/02-synopsis.t
new file mode 100644
index 0000000..3b5f0c8
--- /dev/null
+++ b/t/02-synopsis.t
@@ -0,0 +1,18 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+
+use Test::More;
+
+eval "use Test::Synopsis";
+
+if ($@) {
+ plan skip_all => 'Test::Synopsis required for testing';
+}
+else {
+ plan tests => 1;
+}
+
+for my $m (qw(lib/WWW/Efa.pm)) {
+ synopsis_ok($m);
+}