parent
8161b02897
commit
606288974f
6 changed files with 54 additions and 14 deletions
33
tests/navigator/tnav1.nim
Normal file
33
tests/navigator/tnav1.nim
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
discard """
|
||||
cmd: "nim check $options --track:$file,12,7 $file"
|
||||
nimout: '''def tnav1_temp.nim(11, 10)
|
||||
usage tnav1_temp.nim(12, 8)
|
||||
'''
|
||||
"""
|
||||
|
||||
|
||||
import std / [times]
|
||||
|
||||
proc foo(x: int) =
|
||||
echo x
|
||||
|
||||
foo(3)
|
||||
echo "yes", 1 != 3
|
||||
|
||||
#!EDIT!#
|
||||
discard """
|
||||
cmd: "nim check $options --track:$file,15,2 $file"
|
||||
nimout: '''def tnav1_temp.nim(12, 6)
|
||||
usage tnav1_temp.nim(15, 1)
|
||||
'''
|
||||
"""
|
||||
|
||||
|
||||
import std / [times]
|
||||
|
||||
proc foo(x: int) =
|
||||
echo x
|
||||
|
||||
foo(3)
|
||||
echo "yes", 1 != 3
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue