Skip to content

Commit

Permalink
Fixed failing test locally
Browse files Browse the repository at this point in the history
  • Loading branch information
mapierce committed Aug 28, 2024
1 parent 189589b commit dc8ef6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SourceryTests/Generating/SwiftTemplateSpecs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(\"\\( )\");"))
}))
}

Expand Down

0 comments on commit dc8ef6d

Please sign in to comment.