use doAssert in tests (#16486)
This commit is contained in:
parent
f9a15dbae9
commit
6d442a40a6
78 changed files with 1056 additions and 1056 deletions
|
|
@ -24,8 +24,8 @@ when not defined(js):
|
|||
var config2 = loadConfig(file)
|
||||
let bar = config2.getSectionValue("foo", "bar")
|
||||
let foo = config2.getSectionValue("foo", "foo")
|
||||
assert(bar == "-1")
|
||||
assert(foo == "abc")
|
||||
doAssert(bar == "-1")
|
||||
doAssert(foo == "abc")
|
||||
|
||||
## Creating a configuration file.
|
||||
var dict1 = newConfig()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue