X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fmware%2Fini_reader_test.c;h=5913918d805efbcc1dab47ad721a98a05ada1e78;hb=bb60c722116f1c8401cc4d5653c127d461df1c15;hp=495685ebc4cc84a4d2e48676a781e379defb9814;hpb=82e125d0ef5bc08e5e0bd12f792b133c849a094f;p=bertos.git diff --git a/bertos/mware/ini_reader_test.c b/bertos/mware/ini_reader_test.c index 495685eb..5913918d 100644 --- a/bertos/mware/ini_reader_test.c +++ b/bertos/mware/ini_reader_test.c @@ -35,7 +35,6 @@ * $test$: echo "#undef CONFIG_KFILE_GETS" >> $cfgdir/cfg_kfile.h * $test$: echo "#define CONFIG_KFILE_GETS 1" >> $cfgdir/cfg_kfile.h * - * \version $Id$ * \author Luca Ottaviano */ @@ -87,6 +86,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; }