mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
update test
This commit is contained in:
@@ -33,6 +33,7 @@ namespace UnitTests.ViewsTests {
|
||||
GC.WaitForPendingFinalizers ();
|
||||
}
|
||||
|
||||
#if DEBUG_IDISPOSABLE
|
||||
if (reference.IsAlive) {
|
||||
Assert.True (((View)reference.Target).WasDisposed);
|
||||
string alive = "\n View (Container)";
|
||||
@@ -42,6 +43,7 @@ namespace UnitTests.ViewsTests {
|
||||
}
|
||||
Assert.Fail ($"Some Views didnt get Garbage Collected: {alive}");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void getSpecialParams ()
|
||||
|
||||
Reference in New Issue
Block a user