Skip to content

Commit

Permalink
trying to make test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
FanJups authored Mar 5, 2024
1 parent aa804c1 commit eb601c7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ void comparisonBetweenJsGeneratorAndOtherConverters(final VariableDeclaration va
if (querySelectorAdded) {

assertThat(converted).containsExactly( "%s targetElement_000 = document.querySelector(`:root > body`);".formatted(keyword),
"%s h1_000 = document.createElement('h1');".formatted(keyword),
"%s h1_001 = document.createElement('h1');".formatted(keyword),
"%s text_000 = document.createTextNode(`HTML To JavaScript`);".formatted(keyword),
"h1_000.appendChild(text_000);",
"targetElement_000.appendChild(h1_000);",
Expand Down Expand Up @@ -1880,4 +1880,4 @@ private void printConverted(String[] s) {

logger.info(space + convertedString + space);
}
}
}

0 comments on commit eb601c7

Please sign in to comment.