Ignore false passed as a child

This commit is contained in:
aaron 2025-01-04 00:45:55 +00:00
parent c796e48173
commit 46a2043356
3 changed files with 16 additions and 1 deletions

View file

@ -819,6 +819,20 @@ TEST("create()", wrap_root(function()
CHECK(frame:FindFirstChild "G")
end
do CASE "set false as child"
create "Frame" {
false
}
create "Frame" {
function() return false end
}
create "Frame" {
function() return { false } end
}
end
do CASE "binding properties to source"
local name = source("Hi")
local text = source("Bye")