add test case

This commit is contained in:
alice 2024-08-19 16:10:39 +02:00 committed by centau
parent 1f76b66ff9
commit 68fb71e759

View file

@ -945,6 +945,26 @@ TEST("create()", wrap_root(function()
CHECK((f2 :: any).a == 2) CHECK((f2 :: any).a == 2)
end end
do CASE "recursive fragment"
local obj = create "Frame" {
function()
return {
{
create "Frame" {
Name = "A"
}
}
}
end
}
CHECK(obj:FindFirstChild("A"))
end
do CASE "garbage collection test" do CASE "garbage collection test"
local wref local wref