diff --git a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/LineLength.kt b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/LineLength.kt index 3701ec9e78..344beed022 100644 --- a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/LineLength.kt +++ b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/LineLength.kt @@ -93,6 +93,7 @@ class LineLength(configRules: List) : DiktatRule( checkLength(it, configuration) } } + println(node.text) } } diff --git a/diktat-rules/src/test/resources/test/paragraph3/long_line/LongDotQualifiedExpressionExpected.kt b/diktat-rules/src/test/resources/test/paragraph3/long_line/LongDotQualifiedExpressionExpected.kt index 3bd4b53efd..040fc6fba7 100644 --- a/diktat-rules/src/test/resources/test/paragraph3/long_line/LongDotQualifiedExpressionExpected.kt +++ b/diktat-rules/src/test/resources/test/paragraph3/long_line/LongDotQualifiedExpressionExpected.kt @@ -1,5 +1,8 @@ package test.paragraph3.long_line +val G = +ThisIsVeryyyyLooooonDooootQualifiedExpressioWithoutDot.lalalala.lalalal + val A = This.Is.Veeeeryyyyyyy.Loooooong.Dot .Qualified.Expression @@ -19,4 +22,4 @@ val F = This!!.Is!!.Veeeeryyyyyyy!!.Loooooong!! .Dot!!.Qualified!!.Expression val G = -ThisIsVeryLonDotQualifiedExpressioWithoutDot.lalalala.lalalal \ No newline at end of file +ThisIsVeryyyyLooooonDooootQualifiedExpressioWithoutDot.lalalala.lalalal \ No newline at end of file diff --git a/diktat-rules/src/test/resources/test/paragraph3/long_line/LongDotQualifiedExpressionTest.kt b/diktat-rules/src/test/resources/test/paragraph3/long_line/LongDotQualifiedExpressionTest.kt index f8d5a8718e..507a42ea8e 100644 --- a/diktat-rules/src/test/resources/test/paragraph3/long_line/LongDotQualifiedExpressionTest.kt +++ b/diktat-rules/src/test/resources/test/paragraph3/long_line/LongDotQualifiedExpressionTest.kt @@ -1,5 +1,7 @@ package test.paragraph3.long_line +val G = ThisIsVeryyyyLooooonDooootQualifiedExpressioWithoutDot.lalalala.lalalal + val A = This.Is.Veeeeryyyyyyy.Loooooong.Dot.Qualified.Expression val B = This?.Is?.Veeeeryyyyyyy?.Loooooong?.Dot?.Qualified?.Expression @@ -15,4 +17,4 @@ val E = This?.Is?.Veeeeryyyyyyy?.Loooooong?.Dot val F = This!!.Is!!.Veeeeryyyyyyy!!.Loooooong!! .Dot!!.Qualified!!.Expression -val G = ThisIsVeryLonDotQualifiedExpressioWithoutDot.lalalala.lalalal \ No newline at end of file +val G = ThisIsVeryyyyLooooonDooootQualifiedExpressioWithoutDot.lalalala.lalalal \ No newline at end of file