Fix typo
This commit is contained in:
parent
6f0d61616b
commit
41dff04ae9
|
@ -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)]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue