mfakeassert.nim 150 B

123456
  1. # Template for testing defs
  2. template fakeAssert*(cond: untyped, msg: string = "") =
  3. ## template to allow def lookup testing
  4. if not cond: quit(1)