diff --git a/src/main/resources/org/eolang/lints/comments/comment-is-too-wide.xsl b/src/main/resources/org/eolang/lints/comments/comment-is-too-wide.xsl index 95d1498aa..f3e7d0658 100644 --- a/src/main/resources/org/eolang/lints/comments/comment-is-too-wide.xsl +++ b/src/main/resources/org/eolang/lints/comments/comment-is-too-wide.xsl @@ -7,67 +7,50 @@ - - + + - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - warning - - The comment line width is - - , while - - is max allowed - - - - - - - - - - - - - - - - warning - - The comment width is - - , while - - is max allowed - - - - + + + warning + + + + The comment line width is + + + The comment width is + + + + , while + + is max allowed + + + diff --git a/src/test/resources/org/eolang/lints/packs/single/comment-is-too-wide/catches-multiline-wide-comment.yaml b/src/test/resources/org/eolang/lints/packs/single/comment-is-too-wide/catches-multiline-wide-comment.yaml index c4edddc7e..4a8f6c35a 100644 --- a/src/test/resources/org/eolang/lints/packs/single/comment-is-too-wide/catches-multiline-wide-comment.yaml +++ b/src/test/resources/org/eolang/lints/packs/single/comment-is-too-wide/catches-multiline-wide-comment.yaml @@ -6,7 +6,7 @@ sheets: - /org/eolang/lints/comments/comment-is-too-wide.xsl asserts: - /defects[count(defect[@severity='warning'])=1] - - /defects/defect[@line='1'] + - /defects/defect[@line='2'] input: | # This is good line. # This is a very long line that contains more than 100 characters and should be flagged by the lint as too wide.