This commit is contained in:
Pedro Piñera 2018-10-05 19:21:00 +02:00
parent 6f0d61616b
commit 41dff04ae9
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class TargetActionLinter: TargetActionLinting {
_ = try system.which(tool)
return []
} catch {
return [LintingIssue(reason: "The action tool '\(tool)' not found in the environment",
return [LintingIssue(reason: "The action tool '\(tool)' was not found in the environment",
severity: .error)]
}
}

View File

@ -24,7 +24,7 @@ final class TargetActionLinterTests: XCTestCase {
tool: "randomtool")
let got = subject.lint(action)
let expected = LintingIssue(reason: "The action tool 'randomtool' not found in the environment",
let expected = LintingIssue(reason: "The action tool 'randomtool' was not found in the environment",
severity: .error)
XCTAssertTrue(got.contains(expected))
}