diff --git a/src/test/java/com/yegor256/xsline/StClasspathTest.java b/src/test/java/com/yegor256/xsline/StClasspathTest.java
index dc0ba5c..5490074 100644
--- a/src/test/java/com/yegor256/xsline/StClasspathTest.java
+++ b/src/test/java/com/yegor256/xsline/StClasspathTest.java
@@ -64,7 +64,7 @@ void emitsXslError() {
0, new XMLDocument("hello")
)
).getMessage(),
- Matchers.containsString("terminated by xsl:message at line 32 in emit-error.xsl")
+ Matchers.containsString("terminated by xsl:message at line 31 in emit-error.xsl")
);
}
}
diff --git a/src/test/java/com/yegor256/xsline/TrClasspathTest.java b/src/test/java/com/yegor256/xsline/TrClasspathTest.java
index 651f8df..f34ce6d 100644
--- a/src/test/java/com/yegor256/xsline/TrClasspathTest.java
+++ b/src/test/java/com/yegor256/xsline/TrClasspathTest.java
@@ -67,7 +67,7 @@ void emitsXslError() {
new XMLDocument("hello")
)
).getMessage(),
- Matchers.containsString("terminated by xsl:message at line 32 in emit-error.xsl")
+ Matchers.containsString("terminated by xsl:message at line 31 in emit-error.xsl")
);
}
@@ -84,7 +84,7 @@ void emitsXslErrorWhenDefault() {
).back()
).pass(new XMLDocument(""))
).getMessage(),
- Matchers.containsString("by xsl:message at line 32 in emit-error.xsl")
+ Matchers.containsString("by xsl:message at line 31 in emit-error.xsl")
);
}
}