diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-03-18 12:46:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 12:46:38 +0100 |
commit | e471bf532c751c4f775d8d9f5f8bba35104acbb5 (patch) | |
tree | 9fcd93496d1d479f188f67545ba9dd1dca1be09e /vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go | |
parent | e00e06de9ab8c9c26b4248f673db09bf3667917c (diff) | |
parent | c732adf2d0a243a829798226c75447e235f88aa6 (diff) | |
download | podman-e471bf532c751c4f775d8d9f5f8bba35104acbb5.tar.gz podman-e471bf532c751c4f775d8d9f5f8bba35104acbb5.tar.bz2 podman-e471bf532c751c4f775d8d9f5f8bba35104acbb5.zip |
Merge pull request #13528 from containers/dependabot/go_modules/github.com/stretchr/testify-1.7.1
build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1
Diffstat (limited to 'vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go')
-rw-r--r-- | vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go b/vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go new file mode 100644 index 000000000..1701af2a3 --- /dev/null +++ b/vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go @@ -0,0 +1,16 @@ +//go:build !go1.17 +// +build !go1.17 + +// TODO: once support for Go 1.16 is dropped, this file can be +// merged/removed with assertion_compare_go1.17_test.go and +// assertion_compare_can_convert.go + +package assert + +import "reflect" + +// Older versions of Go does not have the reflect.Value.CanConvert +// method. +func canConvert(value reflect.Value, to reflect.Type) bool { + return false +} |