--- a/tests/test-parser.c Sat Jun 07 11:21:42 2008 +0200
+++ b/tests/test-parser.c Sat Jun 07 11:22:19 2008 +0200
@@ -80,7 +80,7 @@
return;
}
- lm_parser_parse (parser, file_contents);
+ g_assert (lm_parser_parse (parser, file_contents) == is_valid);
lm_parser_free (parser);
g_free (file_contents);
}
@@ -107,6 +107,7 @@
list = get_files ("invalid");
for (l = list; l; l = l->next) {
g_print ("INVALID: %s\n", (const gchar *) l->data);
+ test_parser_with_file ((const gchar *) l->data, FALSE);
g_free (l->data);
}
g_slist_free (list);