From eb601c74b72049cfdd53bffd6bad35633b2b775b Mon Sep 17 00:00:00 2001 From: Fanon Jupkwo Date: Tue, 5 Mar 2024 21:06:34 +0000 Subject: [PATCH] trying to make test fail --- .../com/osscameroon/jsgenerator/test/core/ConverterTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsgenerator-test/jsgenerator-test-core/src/test/java/com/osscameroon/jsgenerator/test/core/ConverterTest.java b/jsgenerator-test/jsgenerator-test-core/src/test/java/com/osscameroon/jsgenerator/test/core/ConverterTest.java index a179682b..098108e3 100644 --- a/jsgenerator-test/jsgenerator-test-core/src/test/java/com/osscameroon/jsgenerator/test/core/ConverterTest.java +++ b/jsgenerator-test/jsgenerator-test-core/src/test/java/com/osscameroon/jsgenerator/test/core/ConverterTest.java @@ -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);", @@ -1880,4 +1880,4 @@ private void printConverted(String[] s) { logger.info(space + convertedString + space); } -} \ No newline at end of file +}