summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-07-14 00:45:46 -0400
committerRich Felker <dalias@aerifal.cx>2011-07-14 00:45:46 -0400
commit868054997def0e588851aaeadbb0d0812c518692 (patch)
tree904b2f68157d38ed5b949e44a237238a57efb755
parenta94ff2a9412095e4da99cd81875201eb93052034 (diff)
downloadlibc-testsuite-868054997def0e588851aaeadbb0d0812c518692.tar.gz
analogous to previous commit fixing strtol expectation, but for wide version
-rw-r--r--wcstol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcstol.c b/wcstol.c
index 07113df..8c4ed14 100644
--- a/wcstol.c
+++ b/wcstol.c
@@ -63,7 +63,7 @@ int test_wcstol(void)
TEST(l, wcstol(L"00010010001101000101011001111000", 0, 2), 0x12345678, "%ld != %ld");
TEST(l, wcstol(s=L"0xz", &c, 16), 0, "%ld != %ld");
- TEST2(i, c-s, 1, "wrong final position %ld != %ld");
+ TEST2(i, c-s, 0, "wrong final position %ld != %ld");
TEST(l, wcstol(s=L"0x1234", &c, 16), 0x1234, "%ld != %ld");
TEST2(i, c-s, 6, "wrong final position %ld != %ld");