6 "github.com/stretchr/testify/assert"
9 func TestUnexpectedObjectTypeErrFormatting(t *testing.T) {
10 err := &UnexpectedObjectType{
11 Got: TreeObjectType, Wanted: BlobObjectType,
14 assert.Equal(t, "git/odb: unexpected object type, got: \"tree\", wanted: \"blob\"", err.Error())