Skip to content

Commit

Permalink
Fixing the quoteEscaping test case for proper quote character escaping (
Browse files Browse the repository at this point in the history
  • Loading branch information
mccartney authored Nov 12, 2024
1 parent 94b58f7 commit 8ac875f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,21 @@
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;

import static org.openrewrite.hcl.Assertions.hcl;

class HclStringTest implements RewriteTest {

@ExpectedToFail
@Issue("https://github.com/openrewrite/rewrite/issues/4612")
@Test
void quoteEscaping() {
rewriteRun(
hcl(
"""
locals {
quotedText = "this is a double quote: \". Look at me"
quotedText = "this is a double quote: \\". Look at me"
}
"""
)
Expand Down

0 comments on commit 8ac875f

Please sign in to comment.