summaryrefslogtreecommitdiff
path: root/lib/Pod/t/text.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Pod/t/text.t')
-rw-r--r--lib/Pod/t/text.t31
1 files changed, 29 insertions, 2 deletions
diff --git a/lib/Pod/t/text.t b/lib/Pod/t/text.t
index b4c772768e..2ef9aab879 100644
--- a/lib/Pod/t/text.t
+++ b/lib/Pod/t/text.t
@@ -2,7 +2,7 @@
#
# text.t -- Additional specialized tests for Pod::Text.
#
-# Copyright 2002, 2004, 2006, 2007 by Russ Allbery <rra@stanford.edu>
+# Copyright 2002, 2004, 2006, 2007, 2008 by Russ Allbery <rra@stanford.edu>
#
# This program is free software; you may redistribute it and/or modify it
# under the same terms as Perl itself.
@@ -16,7 +16,7 @@ BEGIN {
}
unshift (@INC, '../blib/lib');
$| = 1;
- print "1..4\n";
+ print "1..5\n";
}
END {
@@ -101,3 +101,30 @@ Test of S<>
This is some whitespace.
###
+
+###
+=head1 Test of =for
+
+=for comment
+This won't be seen.
+
+Yes.
+
+=for text
+This should be seen.
+
+=for TEXT As should this.
+
+=for man
+But this shouldn't.
+
+Some more text.
+###
+Test of =for
+ Yes.
+
+This should be seen.
+As should this.
+ Some more text.
+
+###