*
*/
#include <check.h>
-#include <stdbool.h>
#include "qstring.h"
#include "qint.h"
START_TEST(empty_input)
{
- QObject *obj = qobject_from_json("");
+ const char *empty = "";
+
+ QObject *obj = qobject_from_json(empty);
fail_unless(obj == NULL);
}
END_TEST