projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Save the current BERTOS_PATH in editing mode (instead of override it with the local...
[bertos.git]
/
bertos
/
mware
/
ini_reader_test.c
diff --git
a/bertos/mware/ini_reader_test.c
b/bertos/mware/ini_reader_test.c
index 495685ebc4cc84a4d2e48676a781e379defb9814..8237d970a21d91329e0e3eace30f565d2319a6aa 100644
(file)
--- a/
bertos/mware/ini_reader_test.c
+++ b/
bertos/mware/ini_reader_test.c
@@
-87,6
+87,9
@@
int ini_reader_testRun(void)
ASSERT(ini_getString(&kf.fd, "Long section with spaces", "value", "", buf, 30) != EOF);
ASSERT(strcmp(buf, "long value") == 0);
ASSERT(ini_getString(&kf.fd, "Long section with spaces", "value", "", buf, 30) != EOF);
ASSERT(strcmp(buf, "long value") == 0);
+
+ ASSERT(ini_getString(&kf.fd, "Long section with spaces", "no_new_line", "", buf, 30) != EOF);
+ ASSERT(strcmp(buf, "value") == 0);
return 0;
}
return 0;
}