From f360824bd5fc21620149cff44b1cfd3cc3d1db4e Mon Sep 17 00:00:00 2001 From: aktsay6 Date: Tue, 9 Feb 2021 15:40:16 +0300 Subject: [PATCH] bugfix/newlinesrule(#748) ### What's done: * Fixed bugs --- .../cqfn/diktat/ruleset/chapter3/files/NewlinesRuleWarnTest.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/files/NewlinesRuleWarnTest.kt b/diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/files/NewlinesRuleWarnTest.kt index 7566dacb50..6105e78abe 100644 --- a/diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/files/NewlinesRuleWarnTest.kt +++ b/diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/files/NewlinesRuleWarnTest.kt @@ -615,7 +615,8 @@ class NewlinesRuleWarnTest : LintTestBase(::NewlinesRule) { LintError(4, 16, ruleId, "${WRONG_NEWLINES.warnText()} first parameter should be placed on a separate line or all other parameters " + "should be aligned with it in declaration of ", true), LintError(4, 16, ruleId, "${WRONG_NEWLINES.warnText()} value parameters should be placed on different lines in declaration of ", true), - LintError(4, 62, ruleId, "${WRONG_NEWLINES.warnText()} first value argument (arg1) should be placed on the new line or all other parameters should be aligned with it", true), + LintError(4, 62, ruleId, "${WRONG_NEWLINES.warnText()} first value argument (arg1) should be placed on the new line or " + + "all other parameters should be aligned with it", true), LintError(4, 62, ruleId, "${WRONG_NEWLINES.warnText()} value arguments should be placed on different lines", true) ) }