summaryrefslogtreecommitdiff
path: root/t/op/sprintf.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/sprintf.t')
-rw-r--r--t/op/sprintf.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/op/sprintf.t b/t/op/sprintf.t
index b8c8bced4c..de1079e2d7 100644
--- a/t/op/sprintf.t
+++ b/t/op/sprintf.t
@@ -436,6 +436,7 @@ __END__
>%l< >''< >%l INVALID<
>%m< >''< >%m INVALID<
>%s< >sprintf('%%n%n %d', $n, $n)< >%n 2< >Slight sneakiness to test %n<
+>%s< >$n="abc"; sprintf(' %n%s', substr($n,1,1), $n)< > a1c< >%n w/magic<
>%o< >2**32-1< >37777777777<
>%+o< >2**32-1< >37777777777<
>%#o< >2**32-1< >037777777777<