mirror of
https://github.com/garethgeorge/backrest.git
synced 2026-07-08 19:20:48 +00:00
chore: correct sftp.args sanitize test expectation to keep wrapping single quotes
This commit is contained in:
@@ -1444,7 +1444,7 @@ func TestSanitizeRepoFlags(t *testing.T) {
|
||||
{
|
||||
name: "mixed flags only sftp.args modified",
|
||||
flags: []string{`--option=other=val`, `--option=sftp.args='-i "/path/key"'`},
|
||||
want: []string{`--option=other=val`, `--option=sftp.args=-i /path/key`},
|
||||
want: []string{`--option=other=val`, `--option=sftp.args='-i /path/key'`},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user