Update test to work with fixed gsub behavior

This commit is contained in:
James Roseborough
2008-07-14 20:14:44 +00:00
parent a4197fefd0
commit 754fe22b18

View File

@@ -1,5 +1,5 @@
local function fixhash(msg)
return string.gsub(msg, "@(%x+)", function(s) return "@"..(string.rep("x", 6)) end)
return (string.gsub(msg, "@(%x+)", function(s) return "@"..(string.rep("x", 6)) end))
end
obj = luajava.newInstance("java.lang.Object")