Skip to content

Commit

Permalink
more utf
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Nov 7, 2024
1 parent 946039d commit 390d4bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mvn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
os: [ubuntu-24.04, windows-2022, macos-13]
java: [11, 21]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ void appliesChangesToNode() throws Exception {
final Node node = new XMLDocument("<doc/>").node();
new Xembler(
new Directives().xpath("/doc")
.remove().xpath("/").add("hello-you")
.remove().xpath("/").add("привет-you")
.add("second")
.addIf("sub").set("друг")
).apply(node);
MatcherAssert.assertThat(
new XMLDocument(node),
XhtmlMatchers.hasXPath("/hello-you/second[sub='друг']")
XhtmlMatchers.hasXPath("/привет-you/second[sub='друг']")
);
}

Expand Down

0 comments on commit 390d4bd

Please sign in to comment.