This commit is contained in:
Kovid Goyal
2023-04-21 21:35:59 +05:30
parent 6cc8e67580
commit 93a5107e79
2 changed files with 8 additions and 1 deletions

View File

@@ -78,6 +78,9 @@ func TestSSHConfigParsing(t *testing.T) {
rt(`unset ["a"]`)
conf = "env LOCAL_ENV=_kitty_copy_env_var_"
rt(`export ["LOCAL_ENV","LOCAL_VAL",false]`)
conf = "env a=b\nhostname 2\ncolor_scheme xyz"
hostname = "2"
rt()
ci, err := ParseCopyInstruction("--exclude moose --dest=target " + cf)
if err != nil {