Browse Source

Test info

onevcat 10 years ago
parent
commit
b63dfcfc69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      KingfisherTests/ImageCacheTests.swift

+ 1 - 1
KingfisherTests/ImageCacheTests.swift

@@ -99,7 +99,7 @@ class ImageCacheTests: XCTestCase {
         cache.storeImage(testImage, originalData: testImageData, forKey: testKeys[0], toDisk: true) { () -> () in
             self.cache.clearMemoryCache()
             self.cache.retrieveImageForKey(testKeys[0], options: KingfisherManager.OptionsNone, completionHandler: { (image, type) -> () in
-                XCTAssert(image != nil && type == .Disk, "Should be cached in disk.")
+                XCTAssert(image != nil && type == .Disk, "Should be cached in disk. But \(type)")
                 expectation.fulfill()
             })
         }