tests/test_json.c

changeset 1051
7d17bd1103d7
parent 1033
e3009345984b
equal deleted inserted replaced
1050:3df63e95921a 1051:7d17bd1103d7
550 cx_foreach(CxJsonValue*, elem, iter) { 550 cx_foreach(CxJsonValue*, elem, iter) {
551 CX_TEST_ASSERT(cxJsonIsNumber(elem)); 551 CX_TEST_ASSERT(cxJsonIsNumber(elem));
552 CX_TEST_ASSERT(i == cxJsonAsInteger(elem)); 552 CX_TEST_ASSERT(i == cxJsonAsInteger(elem));
553 i += 3; 553 i += 3;
554 } 554 }
555 cxJsonValueFree(v);
555 } 556 }
556 cxJsonDestroy(&json); 557 cxJsonDestroy(&json);
557 } 558 }
558 559
559 CX_TEST(test_json_allocator) { 560 CX_TEST(test_json_allocator) {

mercurial