This commit is contained in:
Kovid Goyal 2023-02-19 19:30:36 +05:30
parent 041c646d46
commit 46367bceed
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -73,6 +73,8 @@ func TestSSHConfigParsing(t *testing.T) {
rt(`export ["a"]`) rt(`export ["a"]`)
conf = "env a" conf = "env a"
rt(`unset ["a"]`) rt(`unset ["a"]`)
conf = "env LOCAL_ENV=_kitty_copy_env_var_"
rt(`export ["LOCAL_ENV","LOCAL_VAL",false]`)
ci, err := ParseCopyInstruction("--exclude moose --dest=target " + cf) ci, err := ParseCopyInstruction("--exclude moose --dest=target " + cf)
if err != nil { if err != nil {