coverage work
This commit is contained in:
@@ -1512,7 +1512,6 @@ function TestElementUnhappyPaths:test_clear_children_twice()
|
||||
luaunit.assertEquals(#parent.children, 0)
|
||||
end
|
||||
|
||||
|
||||
-- Test: Element contains with NaN coordinates
|
||||
function TestElementUnhappyPaths:test_contains_nan_coordinates()
|
||||
local element = FlexLove.new({
|
||||
@@ -1542,7 +1541,6 @@ function TestElementUnhappyPaths:test_scroll_without_manager()
|
||||
luaunit.assertTrue(true)
|
||||
end
|
||||
|
||||
|
||||
-- Test: Element scrollBy with nil values
|
||||
function TestElementUnhappyPaths:test_scroll_by_nil()
|
||||
local element = FlexLove.new({
|
||||
@@ -1747,11 +1745,6 @@ function TestElementUnhappyPaths:test_invalid_gap()
|
||||
gap = -10,
|
||||
})
|
||||
luaunit.assertNotNil(element)
|
||||
end
|
||||
gridRows = 0,
|
||||
gridColumns = 0,
|
||||
})
|
||||
luaunit.assertNotNil(element)
|
||||
|
||||
-- Negative rows/columns
|
||||
element = FlexLove.new({
|
||||
@@ -1790,7 +1783,6 @@ function TestElementUnhappyPaths:test_set_text_nil()
|
||||
luaunit.assertNil(element.text)
|
||||
end
|
||||
|
||||
|
||||
-- Test: Element with conflicting size constraints
|
||||
function TestElementUnhappyPaths:test_conflicting_size_constraints()
|
||||
-- Width less than padding
|
||||
|
||||
Reference in New Issue
Block a user