mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-28 08:47:59 +01:00
Fix unit test failure
This commit is contained in:
@@ -676,6 +676,8 @@ Nice Work")]
|
||||
string expectedDraw
|
||||
)
|
||||
{
|
||||
IDriver driver = CreateFakeDriver ();
|
||||
|
||||
TextFormatter tf = new ()
|
||||
{
|
||||
Direction = direction,
|
||||
@@ -685,9 +687,9 @@ Nice Work")]
|
||||
};
|
||||
Assert.Equal (width, text.GetColumns ());
|
||||
|
||||
tf.Draw (new (0, 0, width, height), Attribute.Default, Attribute.Default);
|
||||
tf.Draw (new (0, 0, width, height), Attribute.Default, Attribute.Default, driver: driver);
|
||||
|
||||
DriverAssert.AssertDriverContentsWithFrameAre (expectedDraw, output);
|
||||
DriverAssert.AssertDriverContentsWithFrameAre (expectedDraw, output, driver);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user