diff --git a/src/main/resources/org/eolang/lints/errors/abstract-decoratee.xsl b/src/main/resources/org/eolang/lints/errors/abstract-decoratee.xsl index ca14d7b..681ac85 100644 --- a/src/main/resources/org/eolang/lints/errors/abstract-decoratee.xsl +++ b/src/main/resources/org/eolang/lints/errors/abstract-decoratee.xsl @@ -33,9 +33,9 @@ SOFTWARE. - error + warning - Abstract object can't be used as a decoratee + Abstract object shouldn't be used as a decoratee diff --git a/src/test/resources/org/eolang/lints/catches-abstract-decoratee.yaml b/src/test/resources/org/eolang/lints/catches-abstract-decoratee.yaml index afcc9ef..5a869c5 100644 --- a/src/test/resources/org/eolang/lints/catches-abstract-decoratee.yaml +++ b/src/test/resources/org/eolang/lints/catches-abstract-decoratee.yaml @@ -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.