diff options
Diffstat (limited to 'nimsuggest/tests/fixtures/mfakeassert.nim')
-rw-r--r-- | nimsuggest/tests/fixtures/mfakeassert.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nimsuggest/tests/fixtures/mfakeassert.nim b/nimsuggest/tests/fixtures/mfakeassert.nim new file mode 100644 index 000000000..765831ba7 --- /dev/null +++ b/nimsuggest/tests/fixtures/mfakeassert.nim @@ -0,0 +1,5 @@ +# Template for testing defs + +template fakeAssert*(cond: untyped, msg: string = "") = + ## template to allow def lookup testing + if not cond: quit(1) |