From 42dba4beb67108e014d0e8719bd8244d43383c1e Mon Sep 17 00:00:00 2001 From: Greg Oledzki Date: Tue, 12 Nov 2024 16:24:42 +0100 Subject: [PATCH] Fixing the quoteEscaping test case for proper quote character escaping --- .../src/test/java/org/openrewrite/hcl/tree/HclStringTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rewrite-hcl/src/test/java/org/openrewrite/hcl/tree/HclStringTest.java b/rewrite-hcl/src/test/java/org/openrewrite/hcl/tree/HclStringTest.java index 19bbf88d8f9..0c9262c4ab6 100644 --- a/rewrite-hcl/src/test/java/org/openrewrite/hcl/tree/HclStringTest.java +++ b/rewrite-hcl/src/test/java/org/openrewrite/hcl/tree/HclStringTest.java @@ -16,7 +16,6 @@ package org.openrewrite.hcl.tree; import org.junit.jupiter.api.Test; -import org.junitpioneer.jupiter.ExpectedToFail; import org.openrewrite.Issue; import org.openrewrite.test.RewriteTest; @@ -24,7 +23,6 @@ class HclStringTest implements RewriteTest { - @ExpectedToFail @Issue("https://github.com/openrewrite/rewrite/issues/4612") @Test void quoteEscaping() { @@ -32,7 +30,7 @@ void quoteEscaping() { hcl( """ locals { - quotedText = "this is a double quote: \". Look at me" + quotedText = "this is a double quote: \\". Look at me" } """ )