Make luacheck happy
This commit is contained in:
parent
61e91d483d
commit
37838b2d5f
8
test.lua
8
test.lua
|
@ -706,7 +706,7 @@ describe("helpers", function ()
|
||||||
}, tree)
|
}, tree)
|
||||||
end)
|
end)
|
||||||
it("can provide parent info when walking", function ()
|
it("can provide parent info when walking", function ()
|
||||||
local tree = {
|
local tree = {
|
||||||
{ type = "box", color = "green" },
|
{ type = "box", color = "green" },
|
||||||
{ type = "label", label = "the text" },
|
{ type = "label", label = "the text" },
|
||||||
{
|
{
|
||||||
|
@ -770,7 +770,11 @@ local tree = {
|
||||||
is_child_thingy = true,
|
is_child_thingy = true,
|
||||||
{ type = "box", color = "red", is_child_thingy = true }
|
{ type = "box", color = "red", is_child_thingy = true }
|
||||||
},
|
},
|
||||||
{ type = "label", label = "the new text", is_child_thingy = true }
|
{
|
||||||
|
type = "label",
|
||||||
|
label = "the new text",
|
||||||
|
is_child_thingy = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}, tree)
|
}, tree)
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue