aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2024-01-06 11:53:18 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2024-01-06 11:53:18 -0500
commit64a8adf7039ea91d0674c80e05f4942116c5339f (patch)
treebd967c2c631439132b84e80759e3eef80949cd5d /vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go
parentTweak a few comments (diff)
downloadcli-64a8adf7039ea91d0674c80e05f4942116c5339f.zip
Tweak model tests
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, 0 insertions, 16 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
deleted file mode 100644
index 1701af2..0000000
--- a/vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go
+++ /dev/null
@@ -1,16 +0,0 @@
-//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
-}