From bd272150e177a86c2e5f9d5d4b652d56683cf149 Mon Sep 17 00:00:00 2001 From: Austin Abro Date: Fri, 20 Sep 2024 13:14:41 +0000 Subject: [PATCH] filepath not sprint Signed-off-by: Austin Abro --- src/internal/bigbang/bigbang_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/internal/bigbang/bigbang_test.go b/src/internal/bigbang/bigbang_test.go index cd058bfad0..d001d80d6d 100644 --- a/src/internal/bigbang/bigbang_test.go +++ b/src/internal/bigbang/bigbang_test.go @@ -6,7 +6,6 @@ package bigbang import ( "context" "errors" - "fmt" "net/http" "net/http/httptest" "os" @@ -520,7 +519,7 @@ func TestCreate(t *testing.T) { for i, c := range tt.pkg.Components { for j, m := range c.Manifests { for k, f := range m.Files { - tt.pkg.Components[i].Manifests[j].Files[k] = fmt.Sprintf("%s/%s", tempDir, f) + tt.pkg.Components[i].Manifests[j].Files[k] = filepath.Join(tempDir, f) } } }