summary refs log tree commit diff stats
path: root/nimsuggest/tests/tdef2.nim
blob: 299b83a3dabbb7658e4190f433619ac0b4c05d1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Test def with template and boundaries for the cursor

import fixtures/mstrutils

discard """
$nimsuggest --tester $file
>def $path/fixtures/mstrutils.nim:6:4
def;;skTemplate;;mfakeassert.fakeAssert;;template (cond: untyped, msg: string);;*fixtures/mfakeassert.nim;;3;;9;;"template to allow def lookup testing";;100
>def $path/fixtures/mstrutils.nim:12:3
def;;skTemplate;;mfakeassert.fakeAssert;;template (cond: untyped, msg: string);;*fixtures/mfakeassert.nim;;3;;9;;"template to allow def lookup testing";;100
>def $path/fixtures/mstrutils.nim:18:11
def;;skTemplate;;mfakeassert.fakeAssert;;template (cond: untyped, msg: string);;*fixtures/mfakeassert.nim;;3;;9;;"template to allow def lookup testing";;100
"""