summary refs log tree commit diff stats
path: root/nimsuggest/tests/tcon1.nim
diff options
context:
space:
mode:
Diffstat (limited to 'nimsuggest/tests/tcon1.nim')
-rw-r--r--nimsuggest/tests/tcon1.nim13
1 files changed, 13 insertions, 0 deletions
diff --git a/nimsuggest/tests/tcon1.nim b/nimsuggest/tests/tcon1.nim
new file mode 100644
index 000000000..262dd5151
--- /dev/null
+++ b/nimsuggest/tests/tcon1.nim
@@ -0,0 +1,13 @@
+proc test(s: string; a: int) = discard
+proc testB(a, b: string) = discard
+test("hello here", #[!]#)
+testB(#[!]#
+
+
+discard """
+$nimsuggest --tester $file
+>con $1
+con;;skProc;;tcon1.test;;proc (s: string, a: int);;$file;;1;;5;;"";;100
+>con $2
+con;;skProc;;tcon1.testB;;proc (a: string, b: string);;$file;;2;;5;;"";;100
+"""