Add the original source packages to maemo, source lenny
[dh-make-perl] / dev / i386 / libtest-pod-perl / libtest-pod-perl-1.26 / t / unknown-directive.t
diff --git a/dev/i386/libtest-pod-perl/libtest-pod-perl-1.26/t/unknown-directive.t b/dev/i386/libtest-pod-perl/libtest-pod-perl-1.26/t/unknown-directive.t
new file mode 100644 (file)
index 0000000..025fcaa
--- /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 $name = 'Test name: Something not likely to accidentally occur!';
+    my $file = 't/unknown-directive.pod';
+    test_out( "not ok 1 - $name" );
+    pod_file_ok( $file, $name );
+    test_fail(-1);
+    test_diag( "$file (9): Unknown directive: =over4",);
+    test_diag( "$file (13): Unknown directive: =under",);
+    test_test( "$name is bad" );
+}