I've seen this test fail a few times in the past, but only on CI...

adding prints to see what we get, so we may find the issue in the future.
This commit is contained in:
Tom van Dijck 2017-08-01 10:09:32 -07:00
parent e49b404d73
commit e430bdfef9

View File

@ -177,14 +177,20 @@
local f = field.get("flags")
configset.store(cset, f, { "Symbols", "WinMain", "MFC" })
configset.remove(cset, f, { "WinMain" })
test.isequal({ "Symbols", "MFC" }, configset.fetch(cset, f, {}))
local result = configset.fetch(cset, f, {})
test.print(table.tostring(result))
test.isequal({ "Symbols", "MFC" }, result)
end
function suite.remove_onMultipleValues()
local f = field.get("flags")
configset.store(cset, f, { "Symbols", "Maps", "WinMain", "MFC" })
configset.remove(cset, f, { "Maps", "MFC" })
test.isequal({ "Symbols", "WinMain" }, configset.fetch(cset, f, {}))
local result = configset.fetch(cset, f, {})
test.print(table.tostring(result))
test.isequal({ "Symbols", "WinMain" }, result)
end