Browse Source

Fix AppendAutocompleteTests.

BDisp 1 năm trước cách đây
mục cha
commit
88f8cf9015

+ 1 - 1
UnitTests/Views/AppendAutocompleteTests.cs

@@ -227,7 +227,7 @@ public class AppendAutocompleteTests
         var tf = new TextField { Width = 10 };
         var tf = new TextField { Width = 10 };
         var tf2 = new TextField { Y = 1, Width = 10 };
         var tf2 = new TextField { Y = 1, Width = 10 };
 
 
-        Toplevel top = Application.Top;
+        Toplevel top = new ();
         top.Add (tf);
         top.Add (tf);
         top.Add (tf2);
         top.Add (tf2);