Skip to content

Commit

Permalink
feat(#917): fix all the code offences
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Nov 29, 2024
1 parent 70c7d14 commit 49ad214
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,11 @@ void createsMetasWithPackage() {

@Test
void addsAliasesForAllTheRequiredObjects() throws ImpossibleModificationException {
final String xml = new Xembler(
new BytecodeProgram(new BytecodeClass().helloWorldMethod()).directives("")
).xml();
System.out.println(xml);
MatcherAssert.assertThat(
"Can't create corresponding xembly directives for all the required objects",
xml,
new Xembler(
new BytecodeProgram(new BytecodeClass().helloWorldMethod()).directives("")
).xml(),
Matchers.allOf(
XhtmlMatchers.hasXPath("/program/metas/meta/head[text()='alias']"),
XhtmlMatchers.hasXPath("/program/metas/meta/tail[text()='jeo.opcode.return']"),
Expand Down

0 comments on commit 49ad214

Please sign in to comment.