瀏覽代碼

Fixed test name typo

Tig 1 年之前
父節點
當前提交
c36439b723
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      Terminal.Gui/View/ViewContent.cs
  2. 1 1
      UnitTests/View/DrawTests.cs

+ 2 - 2
Terminal.Gui/View/ViewContent.cs

@@ -132,8 +132,8 @@ public partial class View
     ///         to the view. This enables virtual scrolling.
     ///     </para>
     ///     <para>
-    ///         If a size is provided, the behavior of <see cref="Dim.DimAutoStyle.Content"/> is overridden and the size of the
-    ///         view will be based on ContentSize.
+    ///         If a size is provided, the behavior of <see cref="Dim.DimAutoStyle.Content"/> will be to use the ContentSize
+    ///         to determine the size of the view.
     ///     </para>
     ///     <para>
     ///         Negative sizes are not supported.

+ 1 - 1
UnitTests/View/DrawTests.cs

@@ -1110,7 +1110,7 @@ public class DrawTests (ITestOutputHelper _output)
 *******
 *******
 *******")]
-    public void Daw_Text_Alignment (string text, TextAlignment textAlignment, string expectedText)
+    public void Draw_Text_Alignment (string text, TextAlignment textAlignment, string expectedText)
     {
         View view = new ()
         {