Skip to content

Commit

Permalink
#132 line counting fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 2, 2024
1 parent 0f523d0 commit bf1effc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/java/com/yegor256/xsline/StClasspathTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void emitsXslError() {
0, new XMLDocument("<x>hello</x>")
)
).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")
);
}
}
4 changes: 2 additions & 2 deletions src/test/java/com/yegor256/xsline/TrClasspathTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void emitsXslError() {
new XMLDocument("<x>hello</x>")
)
).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")
);
}

Expand All @@ -84,7 +84,7 @@ void emitsXslErrorWhenDefault() {
).back()
).pass(new XMLDocument("<bar/>"))
).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")
);
}
}

0 comments on commit bf1effc

Please sign in to comment.