Browse Source

Fixed bogus Title test

Tig 1 year ago
parent
commit
0e7e1e2c1e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UnitTests/View/TitleTests.cs

+ 1 - 1
UnitTests/View/TitleTests.cs

@@ -37,7 +37,7 @@ public class TitleTests (ITestOutputHelper output)
         Assert.Equal (text, view.Text);
 
         // SetupFakeDriver only create a screen with 25 cols and 25 rows
-        Assert.Equal (new (text.Length, 1), view.GetContentSize ());
+        Assert.Equal (new (25, 3), view.GetContentSize ());
 
         top.Dispose ();
     }