Skip to content

Commit

Permalink
un-todo some tests; plan the correct number of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpilot committed Aug 16, 2014
1 parent c6c02af commit 340eaeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/hll/06-sprintf.t
Expand Up @@ -24,7 +24,7 @@ sub is($actual, $expected, $description) {
}
}

plan(261);
plan(265);

is(nqp::sprintf('Walter Bishop', []), 'Walter Bishop', 'no directives' );

Expand Down Expand Up @@ -184,8 +184,8 @@ is(nqp::sprintf('<%7.3f>', [3.1415e20]), '<314150000000000000000.000>', '%f hand
is(nqp::sprintf('<%7.3f>', [-3.1415e20]), '<-314150000000000000000.000>', '%f handles big negative numbers');
is(nqp::sprintf('<%7.3f>', [3.1415e-2]), '< 0.031>', '%f handles small numbers');
is(nqp::sprintf('<%7.3f>', [-3.1415e-2]), '< -0.031>', '%f handles small negative numbers');
is(nqp::sprintf("%.0f", [1.969]), "2", '%.0f of 1.969 should be 2 # TODO on nqp-p');
is(nqp::sprintf("%.1f", [1.969]), "2.0", '%.1f of 1.969 should be 2.0 # TODO on nqp-p');
is(nqp::sprintf("%.0f", [1.969]), "2", '%.0f of 1.969 should be 2');
is(nqp::sprintf("%.1f", [1.969]), "2.0", '%.1f of 1.969 should be 2.0');
is(nqp::sprintf("%.2f", [1.969]), "1.97", '%.2f of 1.969 should be 1.97');
is(nqp::sprintf("%.3f", [1.969]), "1.969", '%.3f of 1.969 should be 1.969');
is(nqp::sprintf("% .3f", [3.141592]), " 3.142", '% .3f of 3.141592 should be " 3.142"');
Expand Down

0 comments on commit 340eaeb

Please sign in to comment.