Explorar o código

Fixed bogus Title test

Tig hai 1 ano
pai
achega
0e7e1e2c1e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ();
     }