test/error_test.cc
changeset 188 70694e6bdcac
parent 118 407c08a0eae9
child 209 765619b7cbb2
equal deleted inserted replaced
2:c9d8aac6d1b3 3:5ec515685af0
    52   assertion_text_disable();
    52   assertion_text_disable();
    53   fixme_disable();
    53   fixme_disable();
    54 }
    54 }
    55 #undef LEMON_DISABLE_ASSERTS
    55 #undef LEMON_DISABLE_ASSERTS
    56 
    56 
       
    57 //checking custom assert handler
    57 #define LEMON_ASSERT_CUSTOM
    58 #define LEMON_ASSERT_CUSTOM
    58 
    59 
    59 static int cnt = 0;
    60 static int cnt = 0;
    60 void my_assert_handler(const char*, int, const char*, 
    61 void my_assert_handler(const char*, int, const char*, 
    61 		       const char*, const char*) {
    62 		       const char*, const char*) {