~jamesodhunt/upstart/bug-1302117

« back to all changes in this revision

Viewing changes to init/tests/test_conf.c

  • Committer: James Hunt
  • Date: 2014-06-05 08:42:55 UTC
  • mfrom: (1613.1.18 trunk)
  • Revision ID: james.hunt@ubuntu.com-20140605084255-uavg5ysf1ath6dwv
* Sync with lp:upstart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4550
4550
        TEST_NE_P (json, NULL);
4551
4551
 
4552
4552
        /* Test there is no JobClass in the JSON */
4553
 
        TEST_EQ_P (json_object_object_get (json, "job_class"), NULL);
 
4553
        TEST_EQ (json_object_object_get_ex (json, "job_class", NULL), FALSE);
4554
4554
 
4555
4555
        TEST_FEATURE ("ConfFile with no JobClass can be deserialised");
4556
4556