From fa379bb258a66c4499b4b025ee561a4a21c098ec Mon Sep 17 00:00:00 2001 From: garethgeorge Date: Wed, 8 Jul 2026 00:26:14 -0700 Subject: [PATCH] chore: correct sftp.args sanitize test expectation to keep wrapping single quotes --- internal/api/backresthandler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/backresthandler_test.go b/internal/api/backresthandler_test.go index 782d7c55..592d50dc 100644 --- a/internal/api/backresthandler_test.go +++ b/internal/api/backresthandler_test.go @@ -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'`}, }, }