Skip to content

Commit

Permalink
Use CGSize instead of .init (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-cfuller authored Feb 12, 2024
1 parent c9d374c commit 9d33ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/LayoutTests/UIKit/UIView+AutoLayoutTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9d33ee2

Please sign in to comment.