1
0
Steven Kirk 5 жил өмнө
parent
commit
c6540c1bf2

+ 1 - 0
tests/Avalonia.Controls.UnitTests/ComboBoxTests.cs

@@ -40,6 +40,7 @@ namespace Avalonia.Controls.UnitTests
                 Items = items,
                 Items = items,
                 SelectedIndex = 0,
                 SelectedIndex = 0,
             };
             };
+            var root = new TestRoot(target);
 
 
             var rectangle = target.GetValue(ComboBox.SelectionBoxItemProperty) as Rectangle;
             var rectangle = target.GetValue(ComboBox.SelectionBoxItemProperty) as Rectangle;
             Assert.NotNull(rectangle);
             Assert.NotNull(rectangle);