fix - dont directly compare elements
This commit is contained in:
@@ -96,7 +96,7 @@ function TestRetainedPropStability:test_retainedElementWithComplexProps()
|
||||
|
||||
-- Should return same element
|
||||
luaunit.assertEquals(window2.id, id1)
|
||||
luaunit.assertEquals(window2, window1)
|
||||
--luaunit.assertEquals(window2, window1)
|
||||
|
||||
FlexLove.endFrame()
|
||||
end
|
||||
@@ -174,8 +174,6 @@ function TestRetainedPropStability:test_multipleRetainedElementsWithVaryingProps
|
||||
-- Both should return existing elements
|
||||
luaunit.assertEquals(backdrop2.id, backdropId)
|
||||
luaunit.assertEquals(window2.id, windowId)
|
||||
luaunit.assertEquals(backdrop2, backdrop1)
|
||||
luaunit.assertEquals(window2, window1)
|
||||
|
||||
FlexLove.endFrame()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user