diff --git a/SourceryTests/Generating/SwiftTemplateSpecs.swift b/SourceryTests/Generating/SwiftTemplateSpecs.swift index 3bb26a126..320a035b7 100644 --- a/SourceryTests/Generating/SwiftTemplateSpecs.swift +++ b/SourceryTests/Generating/SwiftTemplateSpecs.swift @@ -174,7 +174,8 @@ class SwiftTemplateTests: QuickSpec { } .to(throwError(closure: { (error) in let path = Path.cleanTemporaryDir(name: "build").parent() + "/version/Sources/SwiftTemplate/main.swift" - expect("\(error)").to(contain("\(path):11:27: error: missing argument for parameter #1 in call\nsourceryBuffer.append(\"\\( )\");\n ^\n")) + expect("\(error)").to(contain("\(path):11:27: error: missing argument for parameter #1 in call")) + expect("\(error)").to(contain("sourceryBuffer.append(\"\\( )\");")) })) }