Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

languages: Fix command used for Go subtests (#42734)

Dinoaaa116d1293a
diff --git a/crates/languages/src/go.rs b/crates/languages/src/go.rs
index 6c75abf123a..a8699fe9c2d 100644
--- a/crates/languages/src/go.rs
+++ b/crates/languages/src/go.rs
@@ -654,7 +654,7 @@ impl ContextProvider for GoContextProvider {
"-v".into(),
"-run".into(),
format!(
- "\\^{}\\$/\\^{}\\$",
+ "'^{}$/^{}$'",
VariableName::Symbol.template_value(),
GO_SUBTEST_NAME_TASK_VARIABLE.template_value(),
),