Skip to content

Commit

Permalink
Use beEmpty() matcher in test
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-cfuller committed Jan 23, 2024
1 parent 7d32cef commit ebf0815
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ final class UIViewLayoutItemTests: XCTestCase {

// THEN

expect(view.superviewConstraints(UIView()) === []) == true
expect(view.superviewConstraints(UIView())).to(beEmpty())
}

func testLayoutBoundary() {
Expand Down

0 comments on commit ebf0815

Please sign in to comment.