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 4, 2024
1 parent fc30ce6 commit 05f46a6
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 05f46a6

Please sign in to comment.