Duplicate header file.
[bertos.git] / bertos / mware / ini_reader_test.c
index 495685ebc4cc84a4d2e48676a781e379defb9814..5913918d805efbcc1dab47ad721a98a05ada1e78 100644 (file)
@@ -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 <lottaviano@develer.com>
  */
 
@@ -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;
 }