_internal/TestSuite2/JSONDebug/JSON_ASSERT.cpp
void testJSONDebug_JSON_ASSERT::testFail(void){
	#if defined JSON_DEBUG
		#ifndef JSON_STDERROR
			JSON_ASSERT(1 == 0, fail_consta);
			assertEquals(last, fail_consta);  //make sure the callback was actually called
		#endif
	#endif
}
/**
 *	Make sure asserts that fail do call the callback and run extra code
 */
Make sure asserts that fail do call the callback and run extra code
Make sure asserts that fail do call the callback and run extra code
void testJSONDebug_JSON_ASSERT::testFail(void){
	#if defined JSON_DEBUG
		#ifndef JSON_STDERROR
			JSON_ASSERT(1 == 0, fail_consta);
			assertEquals(last, fail_consta);  
		#endif
	#endif
}
void testJSONDebug_JSON_ASSERT :: testFail ( void ) { #if defined JSON_DEBUG #ifndef JSON_STDERROR JSON_ASSERT ( 1 == 0 , fail_consta ) ; assertEquals ( last , fail_consta ) ; #endif #endif }
Make sure asserts that fail do call the callback and run extra code
Make sure asserts that fail do call the callback and run extra code
//make sure the callback was actually called