mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
This commit is contained in:
@@ -37,7 +37,7 @@ public class NeedsDrawTests ()
|
||||
|
||||
top.Add (frame);
|
||||
|
||||
RunState runState = Application.Begin (top);
|
||||
SessionToken sessionToken = Application.Begin (top);
|
||||
|
||||
Application.Driver!.SetScreenSize (80,25);
|
||||
|
||||
@@ -62,7 +62,7 @@ public class NeedsDrawTests ()
|
||||
);
|
||||
Assert.Equal (new (0, 0, 30, 1), label.Frame);
|
||||
Assert.Equal (new (0, 1, 9, 1), view.Frame); // this proves frame was set
|
||||
Application.End (runState);
|
||||
Application.End (sessionToken);
|
||||
top.Dispose ();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user