diff options
author | Arne Döring <arne.doering@gmx.net> | 2018-11-20 23:35:32 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-11-23 11:58:32 +0100 |
commit | a29ec4003223ba4ab0d2fb0b4f935f5930ff9f69 (patch) | |
tree | fe418fb0fc7cb2a90a417ca13361da84ac927b61 | |
parent | ce7121530d552e16119f5a3144ee8c19f78f8350 (diff) | |
download | Nim-a29ec4003223ba4ab0d2fb0b4f935f5930ff9f69.tar.gz |
join simple test
-rw-r--r-- | tests/ccgbugs/t8964.nim | 10 | ||||
-rw-r--r-- | tests/cpp/t8241.nim | 11 |
2 files changed, 10 insertions, 11 deletions
diff --git a/tests/ccgbugs/t8964.nim b/tests/ccgbugs/t8964.nim deleted file mode 100644 index 5b41e8bdb..000000000 --- a/tests/ccgbugs/t8964.nim +++ /dev/null @@ -1,10 +0,0 @@ -discard """ - targets: "c cpp" -""" - -from json import JsonParsingError -import marshal - -const nothing = "" -doAssertRaises(JsonParsingError): - var bar = marshal.to[int](nothing) diff --git a/tests/cpp/t8241.nim b/tests/cpp/t8241.nim index cbee1d85a..9aed13fcb 100644 --- a/tests/cpp/t8241.nim +++ b/tests/cpp/t8241.nim @@ -20,4 +20,13 @@ proc findlib2: string = proc imported_func2*(a: cint): cstring {.importc, dynlib: findlib2().} echo imported_func(1) -echo imported_func2(1) \ No newline at end of file +echo imported_func2(1) + +# issue #8946 + +from json import JsonParsingError +import marshal + +const nothing = "" +doAssertRaises(JsonParsingError): + var bar = marshal.to[int](nothing) |