浏览代码

Fixed bogus Title test

Tig 1 年之前
父节点
当前提交
0e7e1e2c1e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 ();
     }