Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Oops, didn't realise skip comments were special. flussence--

  • Loading branch information...
commit 632918e0156b862301d04cfe43eba538141a0052 1 parent 5f09039
@flussence flussence authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 S32-str/sprintf.t
View
6 S32-str/sprintf.t
@@ -2,7 +2,7 @@ use v6;
use Test;
-plan 43;
+plan 44;
# L<S32::Str/Str/"identical to" "C library sprintf">
@@ -60,8 +60,10 @@ is sprintf('%s', -NaN), NaN, 'sprintf %s handles NaN';
is sprintf('%s', Inf), Inf, 'sprintf %s handles Inf';
is sprintf('%s', -Inf), -Inf, 'sprintf %s handles Inf';
-#?rakudo skip "%\d$ doesn't work in master (as of 2010-07)"
+#?rakudo skip "doesn't work in master (as of 2010-07)"
+{
is sprintf('%d %1$x %1$o', 12), '12 c 14', 'positional argument specifier $';
+}
# RT #74610
dies_ok {sprintf "%s"}, 'missing sprintf string argument';
Please sign in to comment.
Something went wrong with that request. Please try again.