diff options
author | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-06-16 21:43:34 +0200 |
---|---|---|
committer | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-06-16 22:39:38 +0200 |
commit | 1f8c5c37d38f4f4a8f9651e5a6ca699fc08ba53d (patch) | |
tree | 3ea2b0e29d843d0a0dfde0639c7b4cad5bb7b760 /tests/caas/forward_usages.txt | |
parent | 25f45cace14f9b48f4b7ada3ace4c4f430d703a6 (diff) | |
download | Nim-1f8c5c37d38f4f4a8f9651e5a6ca699fc08ba53d.tar.gz |
Adds idetools test to verify --usages, reuses testcase.
Diffstat (limited to 'tests/caas/forward_usages.txt')
-rw-r--r-- | tests/caas/forward_usages.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/caas/forward_usages.txt b/tests/caas/forward_usages.txt new file mode 100644 index 000000000..05ef517dc --- /dev/null +++ b/tests/caas/forward_usages.txt @@ -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 |