Skip to content

Commit a13ea7b

Browse files
yktakaha4Copilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent 54512b4 commit a13ea7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

go/logic/server_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ func TestServerCreatePostponeCutOverFlagFile(t *testing.T) {
7878
}
7979
dir, err := os.MkdirTemp("", "gh-ost-test-")
8080
require.NoError(t, err)
81+
defer os.RemoveAll(dir)
8182

82-
filePath := path.Join(dir, "postpone-cut-over.flag")
83+
filePath := filepath.Join(dir, "postpone-cut-over.flag")
8384

8485
err = s.createPostponeCutOverFlagFile(filePath)
8586
require.NoError(t, err)

0 commit comments

Comments
 (0)