Disable failing tests for tables.clear()

The tests for tables.clear() in tests/collections/ttables.nim currently fail as a result of #4448, so I've wrapped them in a
'when false' to disable them until the bug is fixed.
This commit is contained in:
Kier Davis 2016-07-09 18:21:37 +01:00
commit 8e843354e1

View file

@ -134,6 +134,8 @@ block mpairsTableTest1:
block SyntaxTest: block SyntaxTest:
var x = toTable[int, string]({:}) var x = toTable[int, string]({:})
# Until #4448 is fixed, these tests will fail
when false:
block clearTableTest: block clearTableTest:
var t = data.toTable var t = data.toTable
assert t.len() != 0 assert t.len() != 0