Skip to content

Commit 4094d61

Browse files
committed
alteracao de nomenclatura
1 parent 843d029 commit 4094d61

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

solutions/devsprint-caio-santos-7/FinanceApp/Screens/ContactList/Cells/ContactListTableViewCell.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ extension ContactListTableViewCell: ViewCodable {
8383
container.addArrangedSubview(labelStackView)
8484
labelStackView.addArrangedSubview(nameLabel)
8585
labelStackView.addArrangedSubview(phoneNumberLabel)
86-
8786
}
8887

8988
func setupConstraints() {
@@ -100,4 +99,5 @@ extension ContactListTableViewCell: ViewCodable {
10099
userImage.widthAnchor.constraint(equalToConstant: userImageSize)
101100
])
102101
}
102+
103103
}

solutions/devsprint-caio-santos-7/FinanceAppTests/Screens/ContactList/Cells/ContactListTableViewCellTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ import XCTest
1111

1212
final class ContactListTableViewCellTests: XCTestCase {
1313

14-
let sut = ContactListTableViewCell()
14+
private let cell = ContactListTableViewCell()
1515

1616
override class func setUp() {
1717
// SnapshotTesting.isRecording = true
1818
}
1919

2020

2121

22-
func testRenderView() {
23-
sut.backgroundColor = .white
24-
assertSnapshot(matching: sut, as: .image(size: CGSize(width: UIScreen.main.bounds.width, height: 64)))
22+
private func testRenderView() {
23+
cell.backgroundColor = .white
24+
assertSnapshot(matching: cell, as: .image(size: CGSize(width: UIScreen.main.bounds.width, height: 64)))
2525
}
2626
}

solutions/devsprint-caio-santos-7/FinanceAppTests/Screens/ContactList/ContactListViewTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ final class ContactListViewTests: XCTestCase {
1515
// SnapshotTesting.isRecording = true
1616
}
1717

18-
func testRenderView() {
18+
private func testRenderView() {
1919
let component = ContactListView()
2020
assertSnapshot(matching: component, as: .image(size: CGSize(width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height)))
2121
}

0 commit comments

Comments
 (0)