aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorngld <ngld@tproxy.de>2013-09-25 15:57:52 +0200
committerngld <ngld@tproxy.de>2013-09-25 16:03:12 +0200
commit5f726b5af429df683398c454f6cbd0f97228a9d5 (patch)
treeeac09e766037146ff74e63dd627859365a275b30 /tests
parent690f8c8f80661b0c6f9e731a3ff9da31fecfa7fa (diff)
Fix #1668: whiteSpace in _scanString should use only char codes as keys not chars and char codes.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index d1d3bab0..d59fae40 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -1788,7 +1788,7 @@ f6: nan
int xx, yy, zz;
char s[32];
- int cc = sscanf("abc_10.b1_xyz_543_defg", "abc_%d.%2x_xyz_%3d_%3s", &xx, &yy, &zz, s);
+ int cc = sscanf("abc_10.b1_xyz9_543_defg", "abc_%d.%2x_xyz9_%3d_%3s", &xx, &yy, &zz, s);
printf("%d:%d,%d,%d,%s\\n", cc, xx, yy, zz, s);
printf("%d\\n", argc);