瀏覽代碼

Remove progress assertion

onevcat 9 年之前
父節點
當前提交
8d416ec85b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Tests/KingfisherTests/NSButtonExtensionTests.swift

+ 1 - 1
Tests/KingfisherTests/NSButtonExtensionTests.swift

@@ -118,7 +118,7 @@ class NSButtonExtensionTests: XCTestCase {
         let url = URL(string: URLString)!
 
         button.kf_setImage(with: url, placeholder: nil, options: nil, progressBlock: { (receivedSize, totalSize) -> () in
-            XCTFail("Progress block should not be called.")
+            
         }) { (image, error, cacheType, imageURL) -> () in
             XCTAssertNotNil(error)
             XCTAssertEqual(error?.code, NSURLErrorCancelled)