Pārlūkot izejas kodu

Added one more condition to be consistent with others.

BDisp 2 gadi atpakaļ
vecāks
revīzija
c6183c7658
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      UnitTests/Core/LayoutTests.cs

+ 4 - 0
UnitTests/Core/LayoutTests.cs

@@ -47,6 +47,10 @@ namespace Terminal.Gui.CoreTests {
 
 			var exception = Record.Exception (root.LayoutSubviews);
 			Assert.Null (exception);
+
+			sub2.Width = Dim.Width (sub1);
+			exception = Record.Exception (root.LayoutSubviews);
+			Assert.Null (exception);
 		}
 
 		[Fact]