mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 17:57:57 +01:00
Fixing TextFormatter unit test.
This commit is contained in:
@@ -533,8 +533,8 @@ namespace Terminal.Gui {
|
||||
{
|
||||
Assert.Equal (Rect.Empty, TextFormatter.CalcRect (0, 0, null));
|
||||
Assert.Equal (Rect.Empty, TextFormatter.CalcRect (0, 0, ""));
|
||||
Assert.Equal (Rect.Empty, TextFormatter.CalcRect (1, 2, ""));
|
||||
Assert.Equal (Rect.Empty, TextFormatter.CalcRect (-1, -2, ""));
|
||||
Assert.Equal (new Rect (new Point (1, 2), Size.Empty), TextFormatter.CalcRect (1, 2, ""));
|
||||
Assert.Equal (new Rect (new Point (-1, -2), Size.Empty), TextFormatter.CalcRect (-1, -2, ""));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user