mirror of https://github.com/stretchr/testify.git
parent
eb8c41ec07
commit
acba37e5db
|
@ -318,7 +318,7 @@ func (c matchCandidate) isBetterMatchThan(other matchCandidate) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
if c.call.Repeatability > other.call.Repeatability {
|
||||
if c.call.Repeatability > 0 && other.call.Repeatability <= 0 {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue