diff --git a/cmd/builder/internal/builder/main_test.go b/cmd/builder/internal/builder/main_test.go index b4f1e11f067..d2a5d47ca85 100644 --- a/cmd/builder/internal/builder/main_test.go +++ b/cmd/builder/internal/builder/main_test.go @@ -112,7 +112,7 @@ func TestGenerateDefault(t *testing.T) { func TestGenerateInvalidOutputPath(t *testing.T) { cfg := newInitializedConfig(t) - cfg.Distribution.OutputPath = "/:invalid" + cfg.Distribution.OutputPath = ":/invalid" err := Generate(cfg) require.Error(t, err) require.Contains(t, err.Error(), "failed to create output path")