diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-01-10 13:10:50 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-01-12 10:05:38 -0600 |
commit | 38273e1dee8c7c8ce1f9e79619561f63957577b3 (patch) | |
tree | 361ef59de48ae650be52dfbdbee652de42ed74e4 | |
parent | ef76dc59fa5203d146a2acf85a0ad5a5971a4824 (diff) |
check-qjson: enable disabled tests
gtest does the right thing here so there's no need to comment these tests out.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | check-qjson.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/check-qjson.c b/check-qjson.c index 430f53b7e9..526e25ef6d 100644 --- a/check-qjson.c +++ b/check-qjson.c @@ -678,7 +678,6 @@ static void unterminated_dict_comma(void) g_assert(obj == NULL); } -#if 0 static void invalid_dict_comma(void) { QObject *obj = qobject_from_json("{'abc':32,}"); @@ -690,7 +689,6 @@ static void unterminated_literal(void) QObject *obj = qobject_from_json("nul"); g_assert(obj == NULL); } -#endif int main(int argc, char **argv) { @@ -723,11 +721,8 @@ int main(int argc, char **argv) g_test_add_func("/errors/unterminated/dict", unterminated_dict); g_test_add_func("/errors/unterminated/dict_comma", unterminated_dict_comma); g_test_add_func("/errors/invalid_array_comma", invalid_array_comma); -#if 0 - /* FIXME: this print parse error messages on stderr. */ g_test_add_func("/errors/invalid_dict_comma", invalid_dict_comma); g_test_add_func("/errors/unterminated/literal", unterminated_literal); -#endif return g_test_run(); } |