join simple test

This commit is contained in:
Arne Döring
2018-11-20 23:35:32 +01:00
committed by Araq
parent ce7121530d
commit a29ec40032
2 changed files with 10 additions and 11 deletions

View File

@@ -20,4 +20,13 @@ proc findlib2: string =
proc imported_func2*(a: cint): cstring {.importc, dynlib: findlib2().}
echo imported_func(1)
echo imported_func2(1)
echo imported_func2(1)
# issue #8946
from json import JsonParsingError
import marshal
const nothing = ""
doAssertRaises(JsonParsingError):
var bar = marshal.to[int](nothing)