Add the original source packages to maemo, source lenny
[dh-make-perl] / dev / i386 / libtest-pod-perl / libtest-pod-perl-1.26 / t / cut-outside-block.t
diff --git a/dev/i386/libtest-pod-perl/libtest-pod-perl-1.26/t/cut-outside-block.t b/dev/i386/libtest-pod-perl/libtest-pod-perl-1.26/t/cut-outside-block.t
new file mode 100644 (file)
index 0000000..2c8e64b
--- /dev/null
@@ -0,0 +1,21 @@
+#!perl -T
+
+use strict;
+
+use Test::Builder::Tester tests => 2;
+use Test::More;
+
+BEGIN {
+    use_ok( 'Test::Pod' );
+}
+
+BAD: {
+    my $file = 't/cut-outside-block.pod';
+    test_out( "not ok 1 - POD test for $file" );
+    pod_file_ok( $file );
+    test_fail(-1);
+    test_diag(
+       "$file (5): =cut found outside a pod block.  Skipping to next block."
+    );
+    test_test( "$file is bad" );
+}