Skip to content

Commit c086fc8

Browse files
committed
Treat lowercase itoa() as successful.
1 parent bf6bb03 commit c086fc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SampleProjects/TestSomething/test/stdlib.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ unittest(library_tests_itoa)
2626
};
2727

2828
for (int i = 0; i < ARRAY_SIZEOF(table); i++) {
29-
result = itoa(table[i].value, buf, table[i].base);
29+
result = itoa(table[i].value, buf, table[i].base).upcase;
3030
assertEqual(table[i].expected, result);
3131
}
3232

33-
// While only bases 2, 8, 10 and 16 are of real interest, lets test that all
33+
// While only bases 2, 8, 10 and 16 are of real interest, let's test that all
3434
// bases at least produce expected output for a few test points simple to test.
3535
for (int base = 2; base <= 16; base++) {
3636
result = itoa(0, buf, base);

0 commit comments

Comments
 (0)