Update test for expandVars(...)

This commit is contained in:
Stanislav Fesenko 2024-02-20 00:25:20 +03:00
parent e0f154d95c
commit 472865ed45

View File

@ -302,6 +302,7 @@ func Test_expandVars(t *testing.T) {
commands := map[string]string{
"python main.py": "python main.py",
"sh create.sh :name": "sh create.sh " + name,
"sh copy.sh :name new-:name": "sh copy.sh " + name + " new-" + name,
}
for cmd, want := range commands {
src := strings.Fields(cmd)