Browse Source

Update ThemerTests.swift

pull/113/head 22.07
Abhishek 2 years ago
parent
commit
8b5b837b69
  1. 3
      Clocker/ClockerUnitTests/ThemerTests.swift

3
Clocker/ClockerUnitTests/ThemerTests.swift

@ -228,6 +228,9 @@ class ThemerTests: XCTestCase {
}
private func testSubject(subject: Themer, withExpectatations expectations: ThemeExpectations) {
// Symbol images were introduced in 11.0; Clocker still supports 10.13+ so few asserts below that rely on symbol images will fail.
let eligibleOSVersion = ProcessInfo.processInfo.isOperatingSystemAtLeast(OperatingSystemVersion(majorVersion: 11, minorVersion: 0, patchVersion: 0))
XCTAssertEqual(subject.sliderKnobColor(), expectations.expectedSliderKnobColor)
XCTAssertEqual(subject.sliderRightColor(), expectations.expectedSliderRightColor)
XCTAssertEqual(subject.mainBackgroundColor(), expectations.expectedBackgroundColor)

Loading…
Cancel
Save