mirror of https://github.com/stretchr/testify.git
assert: restore CompareType, but mark it as deprecated
Reinstate CompareType for full backward compatibility, but mark it as deprecated.pull/1566/head
parent
39442a4e4e
commit
a155d2a49d
|
@ -7,6 +7,9 @@ import (
|
|||
"time"
|
||||
)
|
||||
|
||||
// Deprecated: CompareType has only ever been for internal use and has accidently been published since v1.6.0. Do not use it.
|
||||
type CompareType = compareResult
|
||||
|
||||
type compareResult int
|
||||
|
||||
const (
|
||||
|
|
Loading…
Reference in New Issue