Fix oopsie
This commit is contained in:
@@ -1555,11 +1555,10 @@ func TestXMLToLua(t *testing.T) {
|
||||
}
|
||||
|
||||
// Convert to Lua
|
||||
table, err := processor.ToLua(L, root)
|
||||
err := processor.ToLua(L, root)
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to convert to Lua: %v", err)
|
||||
}
|
||||
L.SetGlobal("v", table)
|
||||
|
||||
// Verify the result
|
||||
luaTable := L.GetGlobal("v")
|
||||
@@ -1606,11 +1605,10 @@ func TestXMLToLua(t *testing.T) {
|
||||
}
|
||||
|
||||
// Convert to Lua
|
||||
table, err := processor.ToLua(L, street)
|
||||
err := processor.ToLua(L, street)
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to convert to Lua: %v", err)
|
||||
}
|
||||
L.SetGlobal("v", table)
|
||||
|
||||
// Verify the result
|
||||
luaTable := L.GetGlobal("v")
|
||||
|
Reference in New Issue
Block a user