# HG changeset patch # User Kim Alvefur # Date 1452392716 -3600 # Node ID 3121054e665f4922c2cc2cb23178d838f81e265d # Parent d9e620adfb6444fae5b92867029bbfb8b9f17315 tests: Correct mistake from latst merge, use the same variable name in all 3 places where it matters diff -r d9e620adfb64 -r 3121054e665f tests/test.lua --- a/tests/test.lua Sun Jan 10 00:17:54 2016 +0100 +++ b/tests/test.lua Sun Jan 10 03:25:16 2016 +0100 @@ -145,10 +145,10 @@ unit._M = unit; end setfenv(chunk, unit); - local success, err = pcall(chunk); + local success, ret = pcall(chunk); _fakeG.module, _fakeG._M = oldmodule, old_M; if not success then - print("WARNING: ", "Failed to initialise module: "..unitname, err); + print("WARNING: ", "Failed to initialise module: "..unitname, ret); return; end