Skip to content

Commit 05f46a6

Browse files
committed
assert: restore CompareType, but mark it as deprecated
Reinstate CompareType for full backward compatibility, but mark it as deprecated.
1 parent fc30ce6 commit 05f46a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎assert/assertion_compare.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ import (
77
"time"
88
)
99

10+
// Deprecated: CompareType has only ever been for internal use and has accidently been published since v1.6.0. Do not use it.
11+
type CompareType = compareResult
12+
1013
type compareResult int
1114

1215
const (

0 commit comments

Comments
 (0)