Skip to content

Commit 3eeec15

Browse files
devkaranCTmpospese
authored andcommitted
CM-1012: Removed white spaces
1 parent 15eb344 commit 3eeec15

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Tests/YCoreUITests/Extensions/UIKit/UIView+constrainAspectRatioTests.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,12 @@ final class UIViewContrainAspectRatioTests: XCTestCase {
4949
let sut = makeSUT()
5050
containerView.addSubview(sut)
5151

52-
let ratio: CGFloat = 0.5
52+
let ratio: CGFloat = 0.7
5353
let height: CGFloat = 300
5454
sut.constrain(.heightAnchor, constant: height)
55-
5655
// Act
5756
sut.constrainAspectRatio(ratio)
5857
sut.layoutIfNeeded()
59-
6058
// Assert
6159
XCTAssertEqual(sut.bounds.width, ratio * sut.bounds.height)
6260
XCTAssertEqual(sut.bounds.height, height)

0 commit comments

Comments
 (0)