Make tests pass

This commit is contained in:
tznind
2025-03-16 15:39:33 +00:00
committed by Tig
parent 323c624046
commit 4316378f6e
2 changed files with 26 additions and 11 deletions

View File

@@ -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 ();
}