diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/caas/idetools_api.nim | 3 | ||||
-rw-r--r-- | tests/caas/idetools_api.txt | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/caas/idetools_api.nim b/tests/caas/idetools_api.nim index 7d27ffdf8..8f1061e27 100644 --- a/tests/caas/idetools_api.nim +++ b/tests/caas/idetools_api.nim @@ -1,4 +1,4 @@ -import unicode, sequtils, macros +import unicode, sequtils, macros, re proc test_enums() = var o: Tfile @@ -81,3 +81,4 @@ proc testMacro() = err() testMacro() +let notAModule = re"(\w+)=(.*)" diff --git a/tests/caas/idetools_api.txt b/tests/caas/idetools_api.txt index 3a350f60b..035590dc3 100644 --- a/tests/caas/idetools_api.txt +++ b/tests/caas/idetools_api.txt @@ -52,3 +52,8 @@ def\tskLabel\t$MODULE.findVowelPosition.loops\t\t # Displaced macro usage by one character. > idetools --track:$TESTNIM,80,2 --def $SILENT def\tskMacro\t$MODULE.expect\tproc \(varargs\[expr\], stmt\): stmt\t + +# The syntax for extended raw string literals should not be returned as module +# but as the proc re() inside the re module. +> idetools --track:$TESTNIM,84,17 --def $SILENT +!def\tskModule |