diff --git a/Sources/TuistKit/Cache/CacheLocalStorage.swift b/Sources/TuistKit/Cache/CacheLocalStorage.swift index c34c55e32..dbf7239c6 100644 --- a/Sources/TuistKit/Cache/CacheLocalStorage.swift +++ b/Sources/TuistKit/Cache/CacheLocalStorage.swift @@ -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" } } } diff --git a/Tests/TuistKitTests/Cache/CacheLocalStorageTests.swift b/Tests/TuistKitTests/Cache/CacheLocalStorageTests.swift index 80d065118..1cb6a4083 100644 --- a/Tests/TuistKitTests/Cache/CacheLocalStorageTests.swift +++ b/Tests/TuistKitTests/Cache/CacheLocalStorageTests.swift @@ -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") } }