Skip to content

Commit 2a461d1

Browse files
committed
Updated to have fonts
1 parent 7905ebb commit 2a461d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/ScreenDataNavigationTests/ScreenDataNavigationTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ final class ScreenDataNavigationTests: XCTestCase {
1313
subtitle: nil,
1414
backgroundColor: SomeColor(red: 0, green: 0, blue: 0),
1515
headerView: SomeView(type: .container, someContainer: SomeContainerView(isScrollable: true, axis: .vertical, views: [
16-
SomeView(type: .label, someLabel: SomeLabel(title: "Hello World", subtitle: nil, style: nil, destination: Destination(type: .url, toID: "https://github.com/ServerDriven/ScreenData")))
16+
SomeView(type: .label, someLabel: SomeLabel(title: "Hello World", subtitle: nil, font: .largeTitle, style: nil, destination: Destination(type: .url, toID: "https://github.com/ServerDriven/ScreenData")))
1717
], style: nil)),
18-
someView: SomeView(type: .label, someLabel: SomeLabel(title: "Hello World", subtitle: nil, style: nil, destination: Destination(type: .screen, toID: "/some/data/5"))))
18+
someView: SomeView(type: .label, someLabel: SomeLabel(title: "Hello World", subtitle: nil, font: .largeTitle, style: nil, destination: Destination(type: .screen, toID: "/some/data/5"))))
1919

2020
XCTAssertEqual(destinations.map { $0.toID },
2121
screen.destinations.map { $0.toID })

0 commit comments

Comments
 (0)