Skip to content

Commit

Permalink
fix: do not use parallel in test with os env
Browse files Browse the repository at this point in the history
  • Loading branch information
juev committed Dec 8, 2023
1 parent f2a040f commit 492c5c7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gobrew_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ func TestNewGobrewHomeDirUsesUserHomeDir(t *testing.T) {
}

func TestNewGobrewHomeDirDefaultsToHome(t *testing.T) {
t.Parallel()
var envName string

switch runtime.GOOS {
Expand All @@ -51,7 +50,6 @@ func TestNewGobrewHomeDirDefaultsToHome(t *testing.T) {
}

func TestNewGobrewHomeDirUsesGoBrewRoot(t *testing.T) {
t.Parallel()
oldEnvValue := os.Getenv("GOBREW_ROOT")
defer func() {
_ = os.Setenv("GOBREW_ROOT", oldEnvValue)
Expand Down

0 comments on commit 492c5c7

Please sign in to comment.