Update the test case
This commit is contained in:
parent
66ca5fbb83
commit
7f8a06588f
|
@ -46,7 +46,6 @@ class AnimatedImageTests: XCTestCase {
|
||||||
} else {
|
} else {
|
||||||
XCTFail("SDAnimatedImageView.image invalid")
|
XCTFail("SDAnimatedImageView.image invalid")
|
||||||
}
|
}
|
||||||
XCTAssertEqual(animatedImageView.sd_imageName, imageName)
|
|
||||||
expectation.fulfill()
|
expectation.fulfill()
|
||||||
self.waitForExpectations(timeout: 5, handler: nil)
|
self.waitForExpectations(timeout: 5, handler: nil)
|
||||||
ViewHosting.expel()
|
ViewHosting.expel()
|
||||||
|
@ -64,7 +63,6 @@ class AnimatedImageTests: XCTestCase {
|
||||||
} else {
|
} else {
|
||||||
XCTFail("SDAnimatedImageView.image invalid")
|
XCTFail("SDAnimatedImageView.image invalid")
|
||||||
}
|
}
|
||||||
XCTAssertEqual(animatedImageView.sd_imageData, imageData)
|
|
||||||
expectation.fulfill()
|
expectation.fulfill()
|
||||||
self.waitForExpectations(timeout: 5, handler: nil)
|
self.waitForExpectations(timeout: 5, handler: nil)
|
||||||
ViewHosting.expel()
|
ViewHosting.expel()
|
||||||
|
|
Loading…
Reference in New Issue