Skip to content

Commit

Permalink
assert: restore CompareType, but mark it as deprecated
Browse files Browse the repository at this point in the history
Reinstate CompareType for full backward compatibility, but mark it as
deprecated.
  • Loading branch information
dolmen committed Mar 19, 2024
1 parent 39442a4 commit a155d2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assert/assertion_compare.go
Expand Up @@ -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 (
Expand Down

0 comments on commit a155d2a

Please sign in to comment.