From 47b7abb63d8fea940172ed8e751b064b5b479bb4 Mon Sep 17 00:00:00 2001
From: levBagryansky <28lev11@gmail.com>
Date: Mon, 4 Dec 2023 18:22:16 +0300
Subject: [PATCH 1/3] #2546: Improved error describing
---
.../src/main/resources/org/eolang/parser/fail-on-critical.xsl | 4 ++--
.../src/main/resources/org/eolang/parser/fail-on-errors.xsl | 4 ++--
.../src/main/resources/org/eolang/parser/fail-on-warnings.xsl | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/eo-parser/src/main/resources/org/eolang/parser/fail-on-critical.xsl b/eo-parser/src/main/resources/org/eolang/parser/fail-on-critical.xsl
index eb0d7eabce..923d4e912e 100644
--- a/eo-parser/src/main/resources/org/eolang/parser/fail-on-critical.xsl
+++ b/eo-parser/src/main/resources/org/eolang/parser/fail-on-critical.xsl
@@ -29,9 +29,9 @@ Raise an error if errors are found within program
- Critical error identified:
+ Critical error identified:
-
+
diff --git a/eo-parser/src/main/resources/org/eolang/parser/fail-on-errors.xsl b/eo-parser/src/main/resources/org/eolang/parser/fail-on-errors.xsl
index ec4f045048..9d2885b12d 100644
--- a/eo-parser/src/main/resources/org/eolang/parser/fail-on-errors.xsl
+++ b/eo-parser/src/main/resources/org/eolang/parser/fail-on-errors.xsl
@@ -29,9 +29,9 @@ Raise an error if errors are found within program
- Errors identified:
+ Errors identified:
-
+
diff --git a/eo-parser/src/main/resources/org/eolang/parser/fail-on-warnings.xsl b/eo-parser/src/main/resources/org/eolang/parser/fail-on-warnings.xsl
index a042cd32fd..350be4d6dd 100644
--- a/eo-parser/src/main/resources/org/eolang/parser/fail-on-warnings.xsl
+++ b/eo-parser/src/main/resources/org/eolang/parser/fail-on-warnings.xsl
@@ -29,9 +29,9 @@ Raise an error if warnings are found within program
- Warnings identified:
+ Warnings identified:
-
+
From b9f08ce0942a7fa60a8968589d53c4de11ed2c1b Mon Sep 17 00:00:00 2001
From: levBagryansky <28lev11@gmail.com>
Date: Mon, 4 Dec 2023 18:28:21 +0300
Subject: [PATCH 2/3] #2546: xcop
---
.../main/resources/org/eolang/parser/fail-on-critical.xsl | 5 +++--
.../src/main/resources/org/eolang/parser/fail-on-errors.xsl | 5 +++--
.../main/resources/org/eolang/parser/fail-on-warnings.xsl | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/eo-parser/src/main/resources/org/eolang/parser/fail-on-critical.xsl b/eo-parser/src/main/resources/org/eolang/parser/fail-on-critical.xsl
index 923d4e912e..c954ce13a2 100644
--- a/eo-parser/src/main/resources/org/eolang/parser/fail-on-critical.xsl
+++ b/eo-parser/src/main/resources/org/eolang/parser/fail-on-critical.xsl
@@ -29,9 +29,10 @@ Raise an error if errors are found within program
- Critical error identified:
+ Critical error identified:
+
-
+
diff --git a/eo-parser/src/main/resources/org/eolang/parser/fail-on-errors.xsl b/eo-parser/src/main/resources/org/eolang/parser/fail-on-errors.xsl
index 9d2885b12d..f0699fd4e2 100644
--- a/eo-parser/src/main/resources/org/eolang/parser/fail-on-errors.xsl
+++ b/eo-parser/src/main/resources/org/eolang/parser/fail-on-errors.xsl
@@ -29,9 +29,10 @@ Raise an error if errors are found within program
- Errors identified:
+ Errors identified:
+
-
+
diff --git a/eo-parser/src/main/resources/org/eolang/parser/fail-on-warnings.xsl b/eo-parser/src/main/resources/org/eolang/parser/fail-on-warnings.xsl
index 350be4d6dd..1d7a51ac2d 100644
--- a/eo-parser/src/main/resources/org/eolang/parser/fail-on-warnings.xsl
+++ b/eo-parser/src/main/resources/org/eolang/parser/fail-on-warnings.xsl
@@ -29,9 +29,10 @@ Raise an error if warnings are found within program
- Warnings identified:
+ Warnings identified:
+
-
+
From 5af6557f852caa4460d735dfe393ccd926ce3cef Mon Sep 17 00:00:00 2001
From: levBagryansky <28lev11@gmail.com>
Date: Tue, 5 Dec 2023 13:41:25 +0300
Subject: [PATCH 3/3] #2546: added todo
---
.../src/test/java/org/eolang/maven/VerifyMojoTest.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/eo-maven-plugin/src/test/java/org/eolang/maven/VerifyMojoTest.java b/eo-maven-plugin/src/test/java/org/eolang/maven/VerifyMojoTest.java
index b9759ac2e2..ea7bfa0296 100644
--- a/eo-maven-plugin/src/test/java/org/eolang/maven/VerifyMojoTest.java
+++ b/eo-maven-plugin/src/test/java/org/eolang/maven/VerifyMojoTest.java
@@ -33,6 +33,10 @@
* Test cases for {@link VerifyMojo}.
*
* @since 0.31.0
+ * @todo #2546:90min Add test that checks the message of exception in case of
+ * warning, error and critical in xmir. According to
+ * eo-parser/src/main/resources/org/eolang/parser/fail-on-critical.xsl it includes
+ * filename and line inside.
*/
class VerifyMojoTest {