We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8c0a74 commit 1758de1Copy full SHA for 1758de1
examples/utest/testcases/posix/stdlib_h/functions/strtol_tc.c
@@ -97,13 +97,13 @@ int strtol_entry(void)
97
TEST(l, strtol(s = "0F5F", &c, 16), 0x0f5fL, "%ld != %ld");
98
99
TEST(l, strtol(s = "0xz", &c, 16), 0L, "%ld != %ld");
100
- TEST3(i, c - s, 1, "wrong final position %ld != %ld");
+ TEST2(i, c - s, 1, "wrong final position %ld != %ld");
101
102
TEST(l, strtol(s = "0x1234", &c, 16), 0x1234, "%ld != %ld");
103
TEST2(i, c - s, 6, "wrong final position %ld != %ld");
104
105
c = NULL;
106
- TEST3(l, strtol(s = "123", &c, 37), 0, "%ld != %ld");
+ TEST3(l, strtol(s = "123", &c, 36), 0, "%ld != %ld");
107
TEST3(i, c - s, 0, "wrong final position %d != %d");
108
109
TEST(l, strtol(s = " 15437", &c, 8), 015437, "%ld != %ld");
0 commit comments