Skip to content

Commit

Permalink
fix: uts
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Aug 28, 2024
1 parent 51f4b0b commit f1c5718
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import (
)

func Test_Defaults(t *testing.T) {

Check failure on line 17 in config/config_test.go

View workflow job for this annotation

GitHub Actions / lint

Test_Defaults should call t.Parallel on the top level as well as its subtests (tparallel)
t.Parallel()

tcs := []struct {
path string
expectedValue interface{}
Expand Down Expand Up @@ -60,8 +58,6 @@ func Test_Defaults(t *testing.T) {
}

func Test_ConfigFileNotFound(t *testing.T) {
t.Parallel()

flags := flag.FlagSet{}
flags.String("cfg", "/fictitious-file/foo.cfg", "")

Expand All @@ -71,8 +67,6 @@ func Test_ConfigFileNotFound(t *testing.T) {
}

func Test_ConfigFileOverride(t *testing.T) {
t.Parallel()

tempDir := t.TempDir()
overrides := filepath.Join(tempDir, "overrides.toml")
f, err := os.Create(overrides)
Expand Down

0 comments on commit f1c5718

Please sign in to comment.