mirror of https://github.com/stretchr/testify.git
keep type definition local to function where used
parent
590942c47f
commit
408bc6703a
|
@ -182,9 +182,8 @@ func TestIsType(t *testing.T) {
|
|||
|
||||
}
|
||||
|
||||
type myType string
|
||||
|
||||
func TestEqual(t *testing.T) {
|
||||
type myType string
|
||||
|
||||
mockT := new(testing.T)
|
||||
|
||||
|
|
Loading…
Reference in New Issue