summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/t/op/my.t
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/t/op/my.t')
-rwxr-xr-xcontrib/perl5/t/op/my.t9
1 files changed, 8 insertions, 1 deletions
diff --git a/contrib/perl5/t/op/my.t b/contrib/perl5/t/op/my.t
index 1777e88..601e1d6 100755
--- a/contrib/perl5/t/op/my.t
+++ b/contrib/perl5/t/op/my.t
@@ -2,7 +2,7 @@
# $RCSfile: my.t,v $
-print "1..30\n";
+print "1..31\n";
sub foo {
my($a, $b) = @_;
@@ -92,3 +92,10 @@ print +(@x ? "not " : ""), "ok 29\n";
{ @x = my %y }
print +(@x ? "not " : ""), "ok 30\n";
+# Found in HTML::FormatPS
+my %fonts = qw(nok 31);
+for my $full (keys %fonts) {
+ $full =~ s/^n//;
+ # Supposed to be copy-on-write via force_normal after a THINKFIRST check.
+ print "$full $fonts{nok}\n";
+}
OpenPOWER on IntegriCloud