Skip to content
Prev Previous commit
Next Next commit
refactor: rename test funcs
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
  • Loading branch information
sagikazarmark committed May 31, 2025
commit 3d773c4ddafe52a29503e1d620df464e31e8e85a
4 changes: 2 additions & 2 deletions basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/spf13/cast"
)

func TestToBoolE(t *testing.T) {
func TestBool(t *testing.T) {
testCases := []testCase{
{0, false, false},
{int(0), false, false},
Expand Down Expand Up @@ -93,7 +93,7 @@ func BenchmarkToBool(b *testing.B) {
}
}

func TestToStringE(t *testing.T) {
func TestString(t *testing.T) {
type Key struct {
k string
}
Expand Down