浏览代码

Fix ItemsControl tests.

Dan Walmsley 9 年之前
父节点
当前提交
f3d2520f6c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/Avalonia.Controls.UnitTests/ItemsControlTests.cs

+ 1 - 1
tests/Avalonia.Controls.UnitTests/ItemsControlTests.cs

@@ -150,7 +150,7 @@ namespace Avalonia.Controls.UnitTests
 
             var logical = (ILogical)target;
             Assert.Equal(1, logical.LogicalChildren.Count);
-            Assert.IsType<ContentPresenter>(logical.LogicalChildren[0]);
+            Assert.IsType<TextBlock>(logical.LogicalChildren[0]);
         }
 
         [Fact]