diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-03-10 13:20:32 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-03-10 13:20:32 +0100 |
commit | c5566f7c375edeb0768753e27ef4c2ad5011b2a5 (patch) | |
tree | 61ba05150b78993d8fe66eafcc44ecb3df5c0c11 /nimsuggest/tests/tcon1.nim | |
parent | 68181e6da2ee22ad3411cd55f1c8b04df3d375cb (diff) | |
download | Nim-c5566f7c375edeb0768753e27ef4c2ad5011b2a5.tar.gz |
nimsuggest: make 'con' work again
Diffstat (limited to 'nimsuggest/tests/tcon1.nim')
-rw-r--r-- | nimsuggest/tests/tcon1.nim | 13 |
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 +""" |