Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
msaps committed Mar 10, 2017
1 parent f656145 commit 6e4fc2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/TabmanTests/TabmanBarConfigTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class TabmanBarConfigTests: TabmanViewControllerTests {
/// Test that the TabmanBarConfig updates style correctly.
func testBarConfigStyleSet() {
self.tabmanViewController.bar.style = .bar
XCTAssert(self.tabmanViewController.tabmanBar is TabmanOnlyBar,
XCTAssert(self.tabmanViewController.tabmanBar is TabmanPlainBar,
"TabmanBarConfig does not update style correctly.")
}

Expand All @@ -36,9 +36,9 @@ class TabmanBarConfigTests: TabmanViewControllerTests {
func testBarConfigAppearanceSet() {
let textColor = UIColor.yellow
self.tabmanViewController.bar.appearance = TabmanBar.Appearance({ (appearance) in
appearance.text.color = textColor
appearance.state.color = textColor
})
XCTAssert(self.tabmanViewController.bar.appearance?.text.color == textColor,
XCTAssert(self.tabmanViewController.bar.appearance?.state.color == textColor,
"TabmanBarConfig does not update bar appearance correctly.")
}
}

0 comments on commit 6e4fc2a

Please sign in to comment.