diff options
-rw-r--r-- | lib/pure/xmltree.nim | 1 | ||||
-rw-r--r-- | tests/parallel/tsendtwice.nim | 12 | ||||
-rw-r--r-- | tests/system/tostring.nim | 2 |
3 files changed, 7 insertions, 8 deletions
diff --git a/lib/pure/xmltree.nim b/lib/pure/xmltree.nim index 47658b59b..d536cfed0 100644 --- a/lib/pure/xmltree.nim +++ b/lib/pure/xmltree.nim @@ -377,7 +377,6 @@ proc findAll*(n: XmlNode, tag: string, result: var seq[XmlNode]) = ## findAll(html, "img", tags) ## for imgTag in tags: ## process(imgTag) - assert isNil(result) == false assert n.k == xnElement for child in n.items(): if child.k != xnElement: diff --git a/tests/parallel/tsendtwice.nim b/tests/parallel/tsendtwice.nim index 0700fc4da..0c923177a 100644 --- a/tests/parallel/tsendtwice.nim +++ b/tests/parallel/tsendtwice.nim @@ -1,11 +1,11 @@ discard """ - output: '''obj2 nil -obj nil -obj3 nil + output: '''obj2 @[] +obj @[] +obj3 @[] 3 -obj2 nil -obj nil -obj3 nil''' +obj2 @[] +obj @[] +obj3 @[]''' cmd: "nim c -r --threads:on $file" """ diff --git a/tests/system/tostring.nim b/tests/system/tostring.nim index 99299f203..42c07c0a4 100644 --- a/tests/system/tostring.nim +++ b/tests/system/tostring.nim @@ -24,7 +24,7 @@ doAssert "nan" == $(0.0/0.0) # nil tests # maybe a bit inconsistent in types var x: seq[string] -doAssert "nil" == $(x) +doAssert "@[]" == $(x) var y: string doAssert "" == $(y) |