Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-garricnahapetian committed Jan 23, 2024
1 parent ae63f11 commit 9285093
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/LayoutTests/LayoutTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -824,11 +824,11 @@ final class LayoutTests: XCTestCase {
let siblingView: UIView = .init()
let layout: Layout = superview!.layout().addItems(view, siblingView)
let topAnchor: NSLayoutYAxisAnchor = siblingView.bottom
let bottomAcnhor: NSLayoutYAxisAnchor = superview!.bottom
let bottomAnchor: NSLayoutYAxisAnchor = superview!.bottom

// THEN

expect(layout.center(view, between: topAnchor, and: bottomAcnhor)) === layout
expect(layout.center(view, between: topAnchor, and: bottomAnchor)) === layout
expect(layout.constraints.count) == 3

// WHEN
Expand All @@ -837,7 +837,7 @@ final class LayoutTests: XCTestCase {

// THEN

expect(layout.center(view, between: topAnchor, and: bottomAcnhor)) === layout
expect(layout.center(view, between: topAnchor, and: bottomAnchor)) === layout
expect(layout.constraints.count) == 3
}

Expand Down

0 comments on commit 9285093

Please sign in to comment.