chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test: fix strtod() test
[elogind.git]
/
src
/
test
/
test-util.c
diff --git
a/src/test/test-util.c
b/src/test/test-util.c
index 69e3f5d3ae2dab5da42fa3ce1715cbf6d98e7789..1850f97723b6641d67992f5d07bb4f388a298c75 100644
(file)
--- a/
src/test/test-util.c
+++ b/
src/test/test-util.c
@@
-212,7
+212,7
@@
static void test_safe_atod(void) {
assert_se(r == -EINVAL);
errno = 0;
- assert_se(fabs(strtod("0
,
5", &e) - 0.5) < 0.00001);
+ assert_se(fabs(strtod("0
.
5", &e) - 0.5) < 0.00001);
/* And check again, reset */
setlocale(LC_NUMERIC, "C");