diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-07-14 00:03:53 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-07-14 00:03:53 -0400 |
commit | a94ff2a9412095e4da99cd81875201eb93052034 (patch) | |
tree | 159bb82b31a6d76a8dd4162581fe2863922aa029 /strtol.c | |
parent | 93288463d396ef7f044bca50485df5121dc837b8 (diff) | |
download | libc-testsuite-a94ff2a9412095e4da99cd81875201eb93052034.tar.gz |
fix wrong expectation for incomplete subject sequence in strtol test
Diffstat (limited to 'strtol.c')
-rw-r--r-- | strtol.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ int test_strtol(void) TEST(l, strtol(s="0F5F", &c, 16), 0x0f5f, "%ld != %ld"); TEST(l, strtol(s="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, strtol(s="0x1234", &c, 16), 0x1234, "%ld != %ld"); TEST2(i, c-s, 6, "wrong final position %ld != %ld"); |