Move kfile interface to the io/ directory.
[bertos.git] / bertos / mware / ini_reader_test.c
index 495685ebc4cc84a4d2e48676a781e379defb9814..8237d970a21d91329e0e3eace30f565d2319a6aa 100644 (file)
@@ -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", "no_new_line", "", buf, 30) != EOF);
+       ASSERT(strcmp(buf, "value") == 0);
        return 0;
 }