You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extends GutTest
func test_no_orphans():
add_child_autofree(IMakeOrphans.new())
pass_test("should have no orphans")
func test_orphans():
add_child_autoqfree(double(IMakeOrphans).new())
pass_test("should have an orphan")
func test_orphans_partial():
add_child_autoqfree(partial_double(IMakeOrphans).new())
pass_test("should also have an orphan")
So, when having a class like this:
and double it, I get orphan messages:
makes 2 orphans.
However, if the class would be like this:
no orhpans are created.
Not sure what causes it, but I think the script is run once when doubling?
The text was updated successfully, but these errors were encountered: