diff --git a/Tests/ProjectSpecTests/InvalidConfigsFormatTests.swift b/Tests/ProjectSpecTests/InvalidConfigsFormatTests.swift index 96a7540d..ec3e4e70 100644 --- a/Tests/ProjectSpecTests/InvalidConfigsFormatTests.swift +++ b/Tests/ProjectSpecTests/InvalidConfigsFormatTests.swift @@ -36,7 +36,7 @@ struct InvalidConfigsMappingFormatTests { #expect { try Project(path: arguments.fixturePath) } throws: { actualError in - (actualError as any CustomStringConvertible).description + (actualError as? SpecParsingError)?.description == arguments.expectedError.description } }