Skip to content

Commit

Permalink
Fixing test issue introduced by lint fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yolan Romailler <[email protected]>
  • Loading branch information
AnomalRoil committed Sep 25, 2024
1 parent aae1dea commit c259a7d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions tests/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ foo/

// regression test for #1628.
func TestListRegressions1628(t *testing.T) {
t.Parallel()

ts := newTester(t)
defer ts.teardown()

Expand Down
1 change: 1 addition & 0 deletions tests/tester.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ type tester struct {
resetFn func()
}

// newTester is not compatible with t.Parallel because it uses t.Setenv.
func newTester(t *testing.T) *tester {
t.Helper()

Expand Down

0 comments on commit c259a7d

Please sign in to comment.