Revision e7a06af8

b/check-qjson.c
639 639

  
640 640
START_TEST(empty_input)
641 641
{
642
    QObject *obj = qobject_from_json("");
642
    const char *empty = "";
643

  
644
    QObject *obj = qobject_from_json(empty);
643 645
    fail_unless(obj == NULL);
644 646
}
645 647
END_TEST

Also available in: Unified diff