chore: cleanup unit test.

This commit is contained in:
Alexandre Pujol 2024-05-30 13:10:07 +01:00
parent 7efa4b3a4b
commit cfd4786f76
Failed to generate hash of commit

View file

@ -7,8 +7,6 @@ package aa
import ( import (
"reflect" "reflect"
"testing" "testing"
"github.com/k0kubun/pp/v3"
) )
func Test_toAccess(t *testing.T) { func Test_toAccess(t *testing.T) {
@ -84,7 +82,7 @@ func Test_toAccess(t *testing.T) {
return return
} }
if !reflect.DeepEqual(got, tt.wants[i]) { if !reflect.DeepEqual(got, tt.wants[i]) {
t.Errorf("toAccess() = %v, want %v", pp.Sprint(got), pp.Sprint(tt.wants[i])) t.Errorf("toAccess() = %v, want %v", got, tt.wants[i])
} }
} }
}) })