Skip to content

Commit

Permalink
#10 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Nov 19, 2024
1 parent 2bde343 commit b43fda7
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/org/eolang/lints/errors/rt-and-atoms.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ SOFTWARE.
<xsl:text>rt-and-atoms</xsl:text>
</xsl:attribute>
<xsl:attribute name="line">
<xsl:value-of select="@line"/>
<xsl:text>0</xsl:text>
</xsl:attribute>
<xsl:attribute name="severity">
<xsl:text>error</xsl:text>
Expand All @@ -49,7 +49,7 @@ SOFTWARE.
<xsl:text>rt-and-atoms</xsl:text>
</xsl:attribute>
<xsl:attribute name="line">
<xsl:value-of select="@line"/>
<xsl:text>0</xsl:text>
</xsl:attribute>
<xsl:attribute name="severity">
<xsl:text>error</xsl:text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ SOFTWARE.
<xsl:text>wrong-package-name</xsl:text>
</xsl:attribute>
<xsl:attribute name="line">
<xsl:value-of select="@line"/>
<xsl:text>0</xsl:text>
</xsl:attribute>
<xsl:attribute name="severity">
<xsl:text>warning</xsl:text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ SOFTWARE.
<xsl:text>more-one-home</xsl:text>
</xsl:attribute>
<xsl:attribute name="line">
<xsl:value-of select="@line"/>
<xsl:text>0</xsl:text>
</xsl:attribute>
<xsl:attribute name="severity">
<xsl:text>warning</xsl:text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ SOFTWARE.
<xsl:text>more-one-package</xsl:text>
</xsl:attribute>
<xsl:attribute name="line">
<xsl:value-of select="@line"/>
<xsl:text>0</xsl:text>
</xsl:attribute>
<xsl:attribute name="severity">
<xsl:text>warning</xsl:text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ SOFTWARE.
<xsl:text>more-one-version-meta</xsl:text>
</xsl:attribute>
<xsl:attribute name="line">
<xsl:value-of select="@line"/>
<xsl:text>0</xsl:text>
</xsl:attribute>
<xsl:attribute name="severity">
<xsl:text>warning</xsl:text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ xsls:
- /org/eolang/lints/errors/rt-and-atoms.xsl
tests:
- /defects[count(defect[@severity='error'])=1]
- /defects/defect[@line='0']
eo: |
+architect yegor256@gmail.com
+home https://github.com/objectionary/eo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ xsls:
- /org/eolang/lints/critical/duplicate-names.xsl
tests:
- /defects[count(defect)=1]
- /defects/defect[@line='3']
eo: |
# This is the default 64+ symbols comment in front of abstract object.
[] > main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ xsls:
- /org/eolang/lints/errors/many-free-attributes.xsl
tests:
- /defects[count(defect[@severity='error'])=1]
- /defects/defect[@line='2']
eo: |
# This is the default 64+ symbols comment in front of abstract object.
[a b c d e f] > with-many
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ xsls:
- /org/eolang/lints/errors/rt-and-atoms.xsl
tests:
- /defects[count(defect[@severity='error'])=1]
- /defects/defect[@line='0']
eo: |
+architect yegor256@gmail.com
+home https://github.com/objectionary/eo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ xsls:
- /org/eolang/lints/errors/signed-binding-indexes.xsl
tests:
- /defects[count(defect[@severity='error'])=3]
- /defects/defect[@line='1']
eo: |
object c:-1 d:-2 a:0 b:1 e:+12
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ xsls:
tests:
- /defects[count(defect[@severity='warning'])=1]
- /defects[count(defect[@severity='error'])=0]
- /defects/defect[@line='0']
eo: |
+alias stding org.eolang.io.stdin
+alias stdout org.eolang.io.stdout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ xsls:
tests:
- /defects[count(defect[@severity='warning'])=1]
- /defects[count(defect[@severity='error'])=0]
- /defects/defect[@line='0']
eo: |
+alias stding org.eolang.io.stdin
+alias stdout org.eolang.io.stdout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ xsls:
tests:
- /defects[count(defect[@severity='warning'])=1]
- /defects[count(defect[@severity='error'])=0]
- /defects/defect[@line='0']
eo: |
+alias stding org.eolang.io.stdin
+alias stdout org.eolang.io.stdout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ xsls:
tests:
- /defects[count(defect[@severity='warning'])=1]
- /defects[count(defect[@severity='error'])=0]
- /defects/defect[@line='0']
eo: |
+home https://github.com/objectionary/eo
+package test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ xsls:
tests:
- /defects[count(defect[@severity='warning'])=1]
- /defects[count(defect[@severity='error'])=0]
- /defects/defect[@line='0']
eo: |
+alias stding org.eolang.io.stdin
+alias stdout org.eolang.io.stdout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ xsls:
tests:
- /defects[count(defect[@severity='warning'])=1]
- /defects[count(defect[@severity='error'])=0]
- /defects/defect[@line='0']
eo: |
+alias stding org.eolang.io.stdin
+alias stdout org.eolang.io.stdout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ xsls:
tests:
- /defects[count(defect[@severity='warning'])=1]
- /defects[count(defect[@severity='error'])=0]
- /defects/defect[@line='0']
eo: |
+alias stding org.eolang.io.stdin
+alias stdout org.eolang.io.stdout
Expand Down

0 comments on commit b43fda7

Please sign in to comment.