Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-emanharoutunian committed Dec 7, 2023
1 parent 8c01428 commit 0a64141
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Tests/LayoutTests/UIView+FramesTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ final class UIViewFramesTests: XCTestCase {

let view: UIView = givenView()

// THEN

expect(view.translatesAutoresizingMaskIntoConstraints) == false

// WHEN

_ = view.usingFrames()
Expand Down Expand Up @@ -56,7 +60,6 @@ final class UIViewFramesTests: XCTestCase {

private func givenView() -> UIView {
let view: UIView = .init()
view.autoresizingMask = []
view.translatesAutoresizingMaskIntoConstraints = false
return view
}
Expand Down

0 comments on commit 0a64141

Please sign in to comment.