tdef2.nim 714 B

1234567891011121314
  1. # Test def with template and boundaries for the cursor
  2. import fixtures/mstrutils
  3. discard """
  4. $nimsuggest --tester $file
  5. >def $path/fixtures/mstrutils.nim:6:4
  6. def;;skTemplate;;mfakeassert.fakeAssert;;template (cond: untyped, msg: string);;*fixtures/mfakeassert.nim;;3;;9;;"template to allow def lookup testing";;100
  7. >def $path/fixtures/mstrutils.nim:12:3
  8. def;;skTemplate;;mfakeassert.fakeAssert;;template (cond: untyped, msg: string);;*fixtures/mfakeassert.nim;;3;;9;;"template to allow def lookup testing";;100
  9. >def $path/fixtures/mstrutils.nim:18:11
  10. def;;skTemplate;;mfakeassert.fakeAssert;;template (cond: untyped, msg: string);;*fixtures/mfakeassert.nim;;3;;9;;"template to allow def lookup testing";;100
  11. """