Skip to content

Commit

Permalink
Update cmd/splashscreen-changer/config_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot <[email protected]>
  • Loading branch information
book000 and Copilot authored Nov 13, 2024
1 parent bc8f5f7 commit 685334a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/splashscreen-changer/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func TestLoadConfig(t *testing.T) {
defer func() { if err := os.RemoveAll(sourceDirPath); err != nil { t.Errorf("Failed to remove source directory: %v", err) } }()
destinationDirPath := filepath.Join(tmpDir, "destination")
if err := os.MkdirAll(filepath.Join(destinationDirPath, "EasyAntiCheat"), os.ModePerm); err != nil { t.Fatalf("Failed to create destination directory: %v", err) }
defer os.RemoveAll(destinationDirPath)
defer func() { if err := os.RemoveAll(destinationDirPath); err != nil { t.Fatalf("Failed to remove destination directory: %v", err) } }()

// Create a temporary config file
configContent := `
Expand Down

0 comments on commit 685334a

Please sign in to comment.