Adds idetools test to verify --usages, reuses testcase.
This commit is contained in:
parent
25f45cace1
commit
1f8c5c37d3
1 changed files with 17 additions and 0 deletions
17
tests/caas/forward_usages.txt
Normal file
17
tests/caas/forward_usages.txt
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
forward_declarations.nim
|
||||
|
||||
> c --verbosity:0 --hints:on
|
||||
SuccessX
|
||||
|
||||
# None of the following return three instances of the echoHello proc, the first
|
||||
# being the forward declaration, the second being the usage inside testForward,
|
||||
# and the third being the actual implementation.
|
||||
|
||||
> idetools --track:$TESTNIM,5,5 --usages $SILENT
|
||||
skProc.*\n.*skProc.*\n.*skProc
|
||||
|
||||
> idetools --track:$TESTNIM,9,5 --usages $SILENT
|
||||
skProc.*\n.*skProc.*\n.*skProc
|
||||
|
||||
> idetools --track:$TESTNIM,11,5 --usages $SILENT
|
||||
skProc.*\n.*skProc.*\n.*skProc
|
||||
Loading…
Add table
Add a link
Reference in a new issue