Skip to content

Commit

Permalink
fix(#2729): dir
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Dec 28, 2023
1 parent 1329c24 commit 176643a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions eo-parser/src/main/resources/org/eolang/parser/xmir-to-eo.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ SOFTWARE.
<xsl:apply-templates select="o"/>
</xsl:template>
<!-- -->
<!-- <xsl:template match="o[eo:attr(.)]">-->
<!-- nothing, it's a free attribute -->
<!-- </xsl:template>-->
<!-- <xsl:template match="o[eo:attr(.)]">-->
<!-- nothing, it's a free attribute -->
<!-- </xsl:template>-->
<!-- OBJECT, NOT FREE ATTRIBUTE -->
<xsl:template match="o[not(eo:attr(.))]">
<xsl:param name="indent" select="''"/>
Expand Down
3 changes: 2 additions & 1 deletion eo-parser/src/test/java/org/eolang/parser/XMIRTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ final class XMIRTest {
* bytes and after changing 'xmir-to-eo.xsl' many test are not passed anymore. The reason is
* next: if we have an integer in EO, it's converted to bytes in xmir, then it's converted to
* bytes in EO. Here we loose information about an integer while program still works the same.
* Need to either resolve such loosing or just rewrite the test
* Need to either resolve such loosing or just rewrite the test. Previous samples were moved
* from "org/eolang/parser/xmir-samples" directory to "org/eolang/parser/xmir-samples-wrong"
*/
@ParameterizedTest
@ClasspathSource(value = "org/eolang/parser/xmir-samples/", glob = "**.eo")
Expand Down

0 comments on commit 176643a

Please sign in to comment.