onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 1 | #include "doctest_proxy.h" |
2 | |||||
onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 3 | my_testcase("custom macros") { |
onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 4 | my_check(1 == 1); |
5 | |||||
onqtam | c494843 | 2018-12-01 18:47:12 +0200 | [diff] [blame] | 6 | my_check_eq(1, 1); |
onqtam | cc6a6d6 | 2016-09-19 17:30:15 +0300 | [diff] [blame] | 7 | |
onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 8 | my_subcase("bar") { |
onqtam | df8b6d4 | 2019-03-02 17:40:39 +0200 | [diff] [blame] | 9 | my_subcase("foo") { /* code code code */ } |
10 | my_subcase("baz") { /* code code code */ } | ||||
onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 11 | |
12 | my_require(5 > 3); | ||||
13 | } | ||||
onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 14 | // CHECK(1 == 1); <== ERROR - the default short macros are disabled from the proxy header |
15 | } |