From 9d33ee2faa906ccde806ba7a018158ff78eb961a Mon Sep 17 00:00:00 2001 From: Christopher Fuller Date: Mon, 12 Feb 2024 14:19:09 -0800 Subject: [PATCH] Use `CGSize` instead of `.init` (#336) --- Tests/LayoutTests/UIKit/UIView+AutoLayoutTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/LayoutTests/UIKit/UIView+AutoLayoutTests.swift b/Tests/LayoutTests/UIKit/UIView+AutoLayoutTests.swift index 51e9be39..bff026bf 100644 --- a/Tests/LayoutTests/UIKit/UIView+AutoLayoutTests.swift +++ b/Tests/LayoutTests/UIKit/UIView+AutoLayoutTests.swift @@ -179,7 +179,7 @@ final class UIViewAutoLayoutTests: XCTestCase { // WHEN - let sizeConstraints2: [NSLayoutConstraint] = view.sizeConstraints(.init(width: 10, height: 20)) + let sizeConstraints2: [NSLayoutConstraint] = view.sizeConstraints(CGSize(width: 10, height: 20)) // THEN