keep type definition local to function where used

pull/963/merge
Ivo van der Wijk 2020-05-27 18:53:00 +02:00 committed by Boyan Soubachov
parent 590942c47f
commit 408bc6703a
1 changed files with 1 additions and 2 deletions

View File

@ -182,9 +182,8 @@ func TestIsType(t *testing.T) {
}
type myType string
func TestEqual(t *testing.T) {
type myType string
mockT := new(testing.T)