Skip to content

Commit

Permalink
Test sprintf($format) does not issue warnings
Browse files Browse the repository at this point in the history
Fixed in commit:
rakudo/rakudo@35183f396e
  • Loading branch information
zoffixznet committed Nov 28, 2016
1 parent aa74436 commit 23867b4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions S32-str/sprintf.t
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
use v6;

use lib <t/spec/packages>;
use Test;
use Test::Util;

plan 160;
plan 161;

# L<S32::Str/Str/"identical to" "C library sprintf">

Expand Down Expand Up @@ -285,4 +286,10 @@ is Date.new(-13_000_000_000, 1, 1), '-13000000000-01-01
'Invalid formats do not spill internal details';
}

{ # https://irclog.perlgeek.de/perl6/2016-11-28#i_13640361
is_run print sprintf 'pass', {
:out<pass>, :err(''), :0status
}, 'sprintf($format) does not issue spurious warnings';
}

# vim: ft=perl6

0 comments on commit 23867b4

Please sign in to comment.