Browse Source

Fix typo.

pull/8882/head
Steven Kirk 4 years ago
parent
commit
cc4b8e3ea0
  1. 6
      tests/Avalonia.Controls.UnitTests/BorderTests.cs

6
tests/Avalonia.Controls.UnitTests/BorderTests.cs

@ -78,7 +78,7 @@ namespace Avalonia.Controls.UnitTests
} }
}; };
var root = CreatedRoot(1.5, target); var root = CreateRoot(1.5, target);
root.LayoutManager.ExecuteInitialLayoutPass(); root.LayoutManager.ExecuteInitialLayoutPass();
@ -101,7 +101,7 @@ namespace Avalonia.Controls.UnitTests
} }
}; };
var root = CreatedRoot(1.5, target); var root = CreateRoot(1.5, target);
root.LayoutManager.ExecuteInitialLayoutPass(); root.LayoutManager.ExecuteInitialLayoutPass();
@ -111,7 +111,7 @@ namespace Avalonia.Controls.UnitTests
Assert.Equal(new Size(104, 104), target.DesiredSize); Assert.Equal(new Size(104, 104), target.DesiredSize);
} }
private static TestRoot CreatedRoot( private static TestRoot CreateRoot(
double scaling, double scaling,
Control child, Control child,
Size? constraint = null) Size? constraint = null)

Loading…
Cancel
Save