Merge pull request #920 from Blizzard/selftest-fix

small fix in self-test module.
This commit is contained in:
Tom van Dijck 2017-10-13 09:08:00 -07:00 committed by GitHub
commit 5a0e2c8cb1

View File

@ -59,6 +59,7 @@
local passed = 0
local failed = 0
if test.suite ~= nil then
for testName, testFunction in pairs(test.suite) do
test.testName = testName
test.testFunction = testFunction
@ -69,6 +70,7 @@
failed = failed + nf
end
end
end
return passed, failed
end