Fixed zlib tests.

This commit is contained in:
Timofey Solomko
2017-04-30 20:03:20 +03:00
parent b5a4794934
commit 4b5cd3a323
+2 -2
View File
@@ -46,7 +46,7 @@ class ZlibTests: XCTestCase {
return
}
guard let answerData = try? Data(contentsOf: Constants.url(forAnswer: "random_file")) else {
guard let answerData = try? Data(contentsOf: Constants.url(forAnswer: "test9")) else {
XCTFail("Failed to get the answer")
return
}
@@ -55,7 +55,7 @@ class ZlibTests: XCTestCase {
}
func testCreateZlib() {
guard let testData = try? Data(contentsOf: Constants.url(forAnswer: "random_file"),
guard let testData = try? Data(contentsOf: Constants.url(forAnswer: "test9"),
options: .mappedIfSafe) else {
XCTFail("Failed to load test data.")
return