projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f6ab96
)
tests: Correct mistake from latst merge, use the same variable name in all 3 places...
author
Kim Alvefur
<zash@zash.se>
Sun, 10 Jan 2016 02:25:16 +0000
(
03:25
+0100)
committer
Kim Alvefur
<zash@zash.se>
Sun, 10 Jan 2016 02:25:16 +0000
(
03:25
+0100)
tests/test.lua
patch
|
blob
|
history
diff --git
a/tests/test.lua
b/tests/test.lua
index 1192b7b83a659f4a2987dd50e7a194d19f6abbd7..87467e53b90e7feee8dc1b2b937961f666f99335 100644
(file)
--- a/
tests/test.lua
+++ b/
tests/test.lua
@@
-145,10
+145,10
@@
function dotest(unitname)
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