소스 검색

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 ();
     }