aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2022-03-16 12:08:28 +0000
committerGitHub <noreply@github.com>2022-03-16 12:08:28 +0000
commitc732adf2d0a243a829798226c75447e235f88aa6 (patch)
treea946fd38f6d2dc8195f4604c30d02cb84b481165 /vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go
parentfa33f3527f14edbf7407ba3ba482ef839debfb39 (diff)
downloadpodman-c732adf2d0a243a829798226c75447e235f88aa6.tar.gz
podman-c732adf2d0a243a829798226c75447e235f88aa6.tar.bz2
podman-c732adf2d0a243a829798226c75447e235f88aa6.zip
build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
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.go16
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
+}