diff --git a/spec/acceptance_test_repeated_tags1_spec.lua b/spec/acceptance_test_repeated_tags1_spec.lua index de2876b..e344052 100644 --- a/spec/acceptance_test_repeated_tags1_spec.lua +++ b/spec/acceptance_test_repeated_tags1_spec.lua @@ -4,8 +4,10 @@ local handler = require("xmlhandler.tree") local luaTable = { tag = { array = { - item = { _attr = { myattr = "something1" } }, - item = { _attr = { myattr = "something2" } }, + item = { + { _attr = { myattr = "something1" } }, + { _attr = { myattr = "something2" } } + } } } } @@ -45,7 +47,7 @@ describe("Simple Repeated Tags with same structure Acceptance Tests ::", functio print("\nParsed array XML:\n", parsedXml, "\n") assert.is.truthy(string.find(parsedXml, '