Skip to content

Commit

Permalink
Update pkg/config/config_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: John McBride <[email protected]>
  • Loading branch information
nickytonline and jpmcb authored Aug 28, 2024
1 parent 255f3af commit d24095c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkg/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ import (
)

func TestLoadConfig(t *testing.T) {
// Create a temporary directory for test files
tmpDir, err := os.MkdirTemp("", "config_test")
if err != nil {
t.Fatalf("Failed to create temp directory: %v", err)
}
defer os.RemoveAll(tmpDir)
tmpDir := t.TempDir()

// Create an empty file for testing
configFilePath := filepath.Join(tmpDir, ".sauced.yaml")
Expand Down

0 comments on commit d24095c

Please sign in to comment.