Skip to content

Commit

Permalink
fix(#28): warn about abstract-decoratee
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Nov 21, 2024
1 parent 0df9192 commit cdb5f83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ SOFTWARE.
<xsl:value-of select="if (@line) then @line else '0'"/>
</xsl:attribute>
<xsl:attribute name="severity">
<xsl:text>error</xsl:text>
<xsl:text>warning</xsl:text>
</xsl:attribute>
<xsl:text>Abstract object can't be used as a decoratee</xsl:text>
<xsl:text>Abstract object shouldn't be used as a decoratee</xsl:text>
</xsl:element>
</xsl:for-each>
</defects>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
xsls:
- /org/eolang/lints/errors/abstract-decoratee.xsl
tests:
- /defects[count(defect[@severity='error'])=1]
- /defects[count(defect[@severity='warning'])=1]
- /defects/defect[@line='4']
eo: |
# This is the default 64+ symbols comment in front of abstract object.
Expand Down

0 comments on commit cdb5f83

Please sign in to comment.