Skip to content

Commit

Permalink
bugfix/newline-rule-rbrace(#617)
Browse files Browse the repository at this point in the history
### What's done:
  * Fixed bugs
  • Loading branch information
aktsay6 committed Dec 17, 2020
1 parent e9e3dd7 commit a8caa33
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -467,14 +467,14 @@ class NewlinesRuleWarnTest : LintTestBase(::NewlinesRule) {
@Tag(WarningNames.WRONG_NEWLINES)
fun `qqq`() {
lintMethod(
"""
"""
|fun some() {
| baz()
| foo() }
|
|fun zzz() {}
""".trimMargin(),
LintError(3, 10, ruleId, rbraceNewLine, true)
LintError(3, 10, ruleId, rbraceNewLine, true)
)
}

Expand Down

0 comments on commit a8caa33

Please sign in to comment.