mirror of https://github.com/stretchr/testify.git
Remove unreachable code
parent
ae878dc5c4
commit
f3d115a597
|
@ -424,7 +424,6 @@ func (args Arguments) String(indexOrNil ...int) string {
|
|||
}
|
||||
|
||||
panic(fmt.Sprintf("assert: arguments: Wrong number of arguments passed to String. Must be 0 or 1, not %d", len(indexOrNil)))
|
||||
return ""
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue