diff --git a/eo-maven-plugin/src/main/java/org/eolang/maven/UnphiMojo.java b/eo-maven-plugin/src/main/java/org/eolang/maven/UnphiMojo.java index 834c1b1ef1..e1ebc18fd4 100644 --- a/eo-maven-plugin/src/main/java/org/eolang/maven/UnphiMojo.java +++ b/eo-maven-plugin/src/main/java/org/eolang/maven/UnphiMojo.java @@ -95,6 +95,7 @@ public void exec() { phi.getFileName().toString().replace(".phi", ""), new TextOf(phi) ).parsed(); + System.out.println(parsed); home.save(parsed.toString(), xmir); Logger.info( this, diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/new-lines.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/new-lines.yaml new file mode 100644 index 0000000000..a4cd8c9c7c --- /dev/null +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/new-lines.yaml @@ -0,0 +1,8 @@ +tests: + - /program/objects/o[@name='main' and @abstract and o[@name='x']] +phi: | + { + main ↦ ⟦ + x ↦ ξ.y + ⟧ + } \ No newline at end of file diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/spaces.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/spaces.yaml new file mode 100644 index 0000000000..a32699ea25 --- /dev/null +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/spaces.yaml @@ -0,0 +1,3 @@ +tests: + - /program/objects/o[@name='main' and @abstract and o[@name='x']] +phi: "{main ↦ ⟦ x ↦ ξ.y ⟧ } " \ No newline at end of file