mirror of https://github.com/stretchr/testify.git
parent
7797738693
commit
35864782d2
|
@ -9,7 +9,7 @@ package assert
|
|||
|
||||
import "reflect"
|
||||
|
||||
// Wrapper around reflect.Value.CanConvert, for compatability
|
||||
// Wrapper around reflect.Value.CanConvert, for compatibility
|
||||
// reasons.
|
||||
func canConvert(value reflect.Value, to reflect.Type) bool {
|
||||
return value.CanConvert(to)
|
||||
|
|
Loading…
Reference in New Issue