Skip to content

Commit

Permalink
Fix tests on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed May 11, 2017
1 parent c85148d commit 6e25f40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/KingfisherTests/KingfisherManagerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,9 @@ class KingfisherManagerTests: XCTestCase {

manager.defaultOptions = [.scaleFactor(2)]
manager.retrieveImage(with: url, options: nil, progressBlock: nil, completionHandler: { image, _, _, _ in
#if !os(macOS)
XCTAssertEqual(image!.scale, 2.0)
#endif
expectation.fulfill()
})
waitForExpectations(timeout: 5, handler: nil)
Expand Down

0 comments on commit 6e25f40

Please sign in to comment.