Written test cases for the RenderFileTask task in the unit tests target.
This commit is contained in:
@@ -15,7 +15,7 @@ extension TemplateServiceSpy: TemplateServicing {
|
||||
// MARK: Functions
|
||||
|
||||
@discardableResult
|
||||
func render(_ object: Any, on template: String) async throws(TemplateServiceError) -> String {
|
||||
func render(_ object: Any, on template: String) async throws (TemplateServiceError) -> String {
|
||||
actions.append(.rendered(object, template))
|
||||
|
||||
return .content
|
||||
|
||||
Reference in New Issue
Block a user