From a0e6ebe0e0d4044645e175f57e1f13226074e402 Mon Sep 17 00:00:00 2001 From: David Wertenteil Date: Sun, 7 Jan 2024 18:00:45 +0200 Subject: [PATCH] filepath test Signed-off-by: David Wertenteil --- core/pkg/fixhandler/fixhandler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/pkg/fixhandler/fixhandler_test.go b/core/pkg/fixhandler/fixhandler_test.go index 19113923..e765b785 100644 --- a/core/pkg/fixhandler/fixhandler_test.go +++ b/core/pkg/fixhandler/fixhandler_test.go @@ -640,7 +640,7 @@ func TestGetLocalPath(t *testing.T) { }, }, }, - want: os.TempDir(), + want: filepath.Dir(filepath.Join(os.TempDir(), "target.yaml")), }, } for _, tt := range tests {