Skip to content

Commit

Permalink
Update Tests.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
3lvis committed Nov 2, 2015
1 parent fbbad17 commit 5b46bb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tests/Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ extension Tests {
XCTAssertTrue(synchronous)
}

#if os(iOS) || os(tvOS) || os(watchOS)
func testImageDownload() {
let networking = Networking(baseURL: baseURL)
networking.downloadImage("/image/png") { image, error in
Expand All @@ -161,4 +162,5 @@ extension Tests {
XCTAssertEqual(pigImageData, imageData)
}
}
}
#endif
}

0 comments on commit 5b46bb8

Please sign in to comment.