go: Quote targeting expression on runnables (#14055)
Release Notes: - Go: fix test runnables in fish shell.
This commit is contained in:
parent
ba7d5a3d4c
commit
e1a6efa609
1 changed files with 3 additions and 3 deletions
|
@ -518,7 +518,7 @@ impl ContextProvider for GoContextProvider {
|
||||||
"test".into(),
|
"test".into(),
|
||||||
GO_PACKAGE_TASK_VARIABLE.template_value(),
|
GO_PACKAGE_TASK_VARIABLE.template_value(),
|
||||||
"-run".into(),
|
"-run".into(),
|
||||||
format!("^{}$", VariableName::Symbol.template_value(),),
|
format!("'^{}$'", VariableName::Symbol.template_value(),),
|
||||||
],
|
],
|
||||||
tags: vec!["go-test".to_owned()],
|
tags: vec!["go-test".to_owned()],
|
||||||
..TaskTemplate::default()
|
..TaskTemplate::default()
|
||||||
|
@ -549,7 +549,7 @@ impl ContextProvider for GoContextProvider {
|
||||||
"-v".into(),
|
"-v".into(),
|
||||||
"-run".into(),
|
"-run".into(),
|
||||||
format!(
|
format!(
|
||||||
"^{}$/^{}$",
|
"'^{}$/^{}$'",
|
||||||
VariableName::Symbol.template_value(),
|
VariableName::Symbol.template_value(),
|
||||||
GO_SUBTEST_NAME_TASK_VARIABLE.template_value(),
|
GO_SUBTEST_NAME_TASK_VARIABLE.template_value(),
|
||||||
),
|
),
|
||||||
|
@ -570,7 +570,7 @@ impl ContextProvider for GoContextProvider {
|
||||||
"-benchmem".into(),
|
"-benchmem".into(),
|
||||||
"-run=^$".into(),
|
"-run=^$".into(),
|
||||||
"-bench".into(),
|
"-bench".into(),
|
||||||
format!("^{}$", VariableName::Symbol.template_value()),
|
format!("'^{}$'", VariableName::Symbol.template_value()),
|
||||||
],
|
],
|
||||||
tags: vec!["go-benchmark".to_owned()],
|
tags: vec!["go-benchmark".to_owned()],
|
||||||
..TaskTemplate::default()
|
..TaskTemplate::default()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue