paulmach / orb

Types and utilities for working with 2d geometry in Golang
MIT License
886 stars 103 forks source link

encoding/mvt: remove use of crypto/md5 to compare marshalling in tests #118

Closed paulmach closed 1 year ago

paulmach commented 1 year ago

In https://github.com/paulmach/orb/pull/93 we sorted property keys to make the marshalling stable. The test for this used crypto/md5 to compare the marshallings.

@pkumar0508 mentioned the use of crypto/md5 as a problem.

New dependencies on crypto/md5 have been disallowed in the codebase I'm trying to use github.com/paulmach/orb in.

Just removing it and doing a direct byte comparison.