blob: 30231966fb78ed76f7d2893c14197c250a977f47 [file] [log] [blame]
onqtam4a655632016-05-26 14:20:52 +03001#include "doctest_proxy.h"
2
onqtam4a655632016-05-26 14:20:52 +03003my_testcase("custom macros") {
onqtam4a655632016-05-26 14:20:52 +03004 my_check(1 == 1);
5
onqtamc4948432018-12-01 18:47:12 +02006 my_check_eq(1, 1);
onqtamcc6a6d62016-09-19 17:30:15 +03007
onqtam4a655632016-05-26 14:20:52 +03008 my_subcase("bar") {
onqtamdf8b6d42019-03-02 17:40:39 +02009 my_subcase("foo") { /* code code code */ }
10 my_subcase("baz") { /* code code code */ }
onqtam4a655632016-05-26 14:20:52 +030011
12 my_require(5 > 3);
13 }
onqtam4a655632016-05-26 14:20:52 +030014 // CHECK(1 == 1); <== ERROR - the default short macros are disabled from the proxy header
15}