Fix tests

This commit is contained in:
Pedro Piñera 2019-12-07 17:14:44 +01:00
parent 91dad5a59c
commit 34d13282e8
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ enum CacheLocalStorageError: FatalError, Equatable {
var description: String {
switch self {
case let .xcframeworkNotFound(hash):
return ".xcframework with hash '\(hash)' not found in the local cache"
return "xcframework with hash '\(hash)' not found in the local cache"
}
}
}

View File

@ -10,6 +10,6 @@ final class CacheLocalStorageErrorTests: TuistUnitTestCase {
}
func test_description() {
XCTAssertEqual(CacheLocalStorageError.xcframeworkNotFound(hash: "hash").description, "File with hash 'hash' not found in the local cache")
XCTAssertEqual(CacheLocalStorageError.xcframeworkNotFound(hash: "hash").description, "xcframework with hash 'hash' not found in the local cache")
}
}