Skip to content

Commit 340eaeb

Browse files
committed
un-todo some tests; plan the correct number of tests
1 parent c6c02af commit 340eaeb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/hll/06-sprintf.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ sub is($actual, $expected, $description) {
2424
}
2525
}
2626

27-
plan(261);
27+
plan(265);
2828

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

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

0 commit comments

Comments
 (0)