From 0a6414150d39a764a1b212525f8deb431342c740 Mon Sep 17 00:00:00 2001 From: tinder-emanharoutunian Date: Wed, 6 Dec 2023 17:16:56 -0800 Subject: [PATCH] Fix test --- Tests/LayoutTests/UIView+FramesTests.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tests/LayoutTests/UIView+FramesTests.swift b/Tests/LayoutTests/UIView+FramesTests.swift index 99ecc26b..de7e607f 100644 --- a/Tests/LayoutTests/UIView+FramesTests.swift +++ b/Tests/LayoutTests/UIView+FramesTests.swift @@ -20,6 +20,10 @@ final class UIViewFramesTests: XCTestCase { let view: UIView = givenView() + // THEN + + expect(view.translatesAutoresizingMaskIntoConstraints) == false + // WHEN _ = view.usingFrames() @@ -56,7 +60,6 @@ final class UIViewFramesTests: XCTestCase { private func givenView() -> UIView { let view: UIView = .init() - view.autoresizingMask = [] view.translatesAutoresizingMaskIntoConstraints = false return view }