mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Make tests pass
This commit is contained in:
@@ -33,9 +33,9 @@ public class BasicFluentAssertionTests
|
||||
};
|
||||
using var c = With.A<Window> (40, 10)
|
||||
.Add (lbl )
|
||||
.Assert (lbl.Frame.Width.Should().Be(40))
|
||||
.Assert (lbl.Frame.Width.Should().Be(38)) // Window has 2 border
|
||||
.ResizeConsole (20,20)
|
||||
.Assert (lbl.Frame.Width.Should ().Be (20))
|
||||
.Assert (lbl.Frame.Width.Should ().Be (18))
|
||||
.Stop ();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user