Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
nulls committed Apr 10, 2023
1 parent 88a257e commit 7eb4546
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class TrailingCommaWarnTest : LintTestBase(::TrailingCommaRule) {
when (x) {}
}
""".trimMargin(),
LintError(4, 21, ruleId, "${TRAILING_COMMA.warnText()} after WHEN_CONDITION_EXPRESSION: String::class", true),
LintError(4, 21, ruleId, "${TRAILING_COMMA.warnText()} after WHEN_CONDITION_WITH_EXPRESSION: String::class", true),
LintError(12, 24, ruleId, "${TRAILING_COMMA.warnText()} after WHEN_CONDITION_IS_PATTERN: is String", true),
LintError(20, 24, ruleId, "${TRAILING_COMMA.warnText()} after WHEN_CONDITION_IN_RANGE: in 1..2", true),
rulesConfigList = getRulesConfig("whenConditions")
Expand Down

0 comments on commit 7eb4546

Please sign in to comment.