Skip to content

Commit

Permalink
Fix RainBow enhanced strings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeehut committed Jun 15, 2020
1 parent 0ed5499 commit 5870afa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ xcuserdata/
.codacy-coverage
*.lcov
codacy-coverage.json
.anylint
12 changes: 6 additions & 6 deletions Tests/AnyLintTests/AutoCorrectionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ final class AutoCorrectionTests: XCTestCase {
singleLineAutoCorrection.appliedMessageLines,
[
"Autocorrection applied, the diff is: (+ added, - removed)",
"- Lisence",
"+ License",
"- Lisence".red,
"+ License".green,
]
)

Expand All @@ -27,10 +27,10 @@ final class AutoCorrectionTests: XCTestCase {
multiLineAutoCorrection.appliedMessageLines,
[
"Autocorrection applied, the diff is: (+ added, - removed)",
"- [L3] C",
"+ [L5] F1",
"- [L6] F",
"+ [L6] F2",
"- [L3] C".red,
"+ [L5] F1".green,
"- [L6] F".red,
"+ [L6] F2".green,
]
)
}
Expand Down

0 comments on commit 5870afa

Please sign in to comment.