mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-16 14:01:22 +00:00
enable style:usages for stdlib tests [backport: 1.6] (#19715)
* enable style:usages for stdlib tests * freeAddrInfo * more tests * importc * bufSize * fix more * => parseSql and renderSql
This commit is contained in:
@@ -320,7 +320,7 @@ template fn() =
|
||||
b: int
|
||||
|
||||
var a = A()
|
||||
fromJson(a, """{"is_a": true, "a":1, "extra_key": 1}""".parse_json, Joptions(allowExtraKeys: true))
|
||||
fromJson(a, """{"is_a": true, "a":1, "extra_key": 1}""".parseJson, Joptions(allowExtraKeys: true))
|
||||
doAssert $a[] == "(is_a: true, a: 1)"
|
||||
|
||||
block testAllowMissingKeys:
|
||||
|
||||
Reference in New Issue
Block a user