Skip to content

Commit

Permalink
Unfudge now passing tests on rakudo.moar
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Nov 11, 2015
1 parent 3082b66 commit 5c7ae5c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions S32-str/sprintf.t
Expand Up @@ -200,7 +200,6 @@ is sprintf('%g', 2.718281828459), sprintf('%.6g', 2.718281828459), '%g defaults
is sprintf('%G', 2.718281828459), sprintf('%.6G', 2.718281828459), '%G defaults to .6';

# I don't know about the wisdom of these, but this is how Perl 5 handles it
#?rakudo.moar 10 todo "Issues with Inf: RT #116280"
#?rakudo.jvm 10 skip "Issues with Inf: RT #116280"
is sprintf('%e', Inf), "Inf", 'Inf properly handled %e';
is sprintf('%E', Inf), "Inf", 'Inf properly handled %E';
Expand Down Expand Up @@ -235,7 +234,6 @@ is Date.new(-13_000_000_000, 1, 1), '-13000000000-01-01

# RT #116280
#?rakudo.jvm skip "java.lang.NumberFormatException: RT#116280"
#?rakudo.moar todo 'RT #116280 -- sprintf prints numbers instead of NaN/Inf/-Inf'
{
is sprintf('%12.5f', NaN), ' NaN', 'RT #116280';
#?niecza 2 todo "https://github.com/sorear/niecza/issues/181"
Expand Down

0 comments on commit 5c7ae5c

Please sign in to comment.