Skip to content

Commit

Permalink
fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rekby committed Aug 9, 2024
1 parent dc05803 commit c957670
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test_helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package fixenv
import (
"encoding/json"
"reflect"
"strings"
"testing"
)

Expand Down Expand Up @@ -73,13 +72,6 @@ func requireNotNil(t *testing.T, v interface{}) {
}
}

func requireContains(t *testing.T, s, substr string) {
t.Helper()
if !strings.Contains(s, substr) {
t.Fatalf("'%s' must contains '%s'", s, substr)
}
}

func requirePanic(t *testing.T, f func()) {
t.Helper()
defer func() {
Expand Down

0 comments on commit c957670

Please sign in to comment.