From 4817bfa003163150c9a4553757b4e209e470ecbf Mon Sep 17 00:00:00 2001 From: Michael Davis <mcarsondavis@gmail.com> Date: Thu, 2 Jan 2025 15:43:51 -0500 Subject: [PATCH] minor: fix syntax tree pretty print test This case needs to be adjusted for the escaping added in 38e8382b --- helix-core/src/syntax.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs index 58b6de34..375846b0 100644 --- a/helix-core/src/syntax.rs +++ b/helix-core/src/syntax.rs @@ -2981,8 +2981,8 @@ mod test { " (macro_invocation\n", " macro: (identifier) \"!\"\n", " (token_tree \"(\"\n", - " (string_literal \"\"\"\n", - " (string_content) \"\"\") \")\")) \";\") \"}\"))", + " (string_literal \"\\\"\"\n", + " (string_content) \"\\\"\") \")\")) \";\") \"}\"))", ), 0, source.len(),