From f91c4f8d3b5b956497d58b08cdb609b76d204d27 Mon Sep 17 00:00:00 2001 From: Jess Date: Mon, 28 Jul 2025 17:08:08 -0600 Subject: [PATCH] Fix test that broke Because query parameters are being re-encoded, = is being encoded to %3D. Signed-off-by: Jess --- pkg/remote/remote_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/remote/remote_test.go b/pkg/remote/remote_test.go index c91627df..3bb5c743 100644 --- a/pkg/remote/remote_test.go +++ b/pkg/remote/remote_test.go @@ -179,7 +179,7 @@ func TestRemote_SShGitHub_WithSshKey(t *testing.T) { if wd != CacheDir() { return fmt.Errorf("unexpected wd: %s", wd) } - if src != "git::ssh://git@github.com/helmfile/helmfiles.git?ref=0.40.0&sshkey=ZWNkc2Etc2hhMi1uaXN0cDI1NiBBQUFBRTJWalpITmhMWE5vWVRJdGJtbHpkSEF5TlRZQUFBQUlibWx6ZEhBeU5UWUFBQUJCQkJTU3dOY2xoVzQ2Vm9VR3dMQ3JscVRHYUdOVWdRVUVEUEptc1ZzdUViL2RBNUcrQk9YMWxGaUVMYU9HQ2F6bS9KQkR2V3Y2Y0ZDQUtVRjVocVJOUjdJPSA=" { + if src != "git::ssh://git@github.com/helmfile/helmfiles.git?ref=0.40.0&sshkey=ZWNkc2Etc2hhMi1uaXN0cDI1NiBBQUFBRTJWalpITmhMWE5vWVRJdGJtbHpkSEF5TlRZQUFBQUlibWx6ZEhBeU5UWUFBQUJCQkJTU3dOY2xoVzQ2Vm9VR3dMQ3JscVRHYUdOVWdRVUVEUEptc1ZzdUViL2RBNUcrQk9YMWxGaUVMYU9HQ2F6bS9KQkR2V3Y2Y0ZDQUtVRjVocVJOUjdJPSA%3D" { return fmt.Errorf("unexpected src: %s", src) }