summaryrefslogtreecommitdiff
path: root/vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-03-04 15:05:24 +0000
committerLibravatar GitHub <noreply@github.com>2024-03-04 15:05:24 +0000
commit7bc536d1f7c19a63db871356b2f83f0cb8af1831 (patch)
tree9c7a714c4283d113704481b45495a94036c6da1e /vendor/github.com/stretchr/testify/assert/assertion_compare_legacy.go
parent[bugfix] check remote status permissibility (#2703) (diff)
downloadgotosocial-7bc536d1f7c19a63db871356b2f83f0cb8af1831.tar.xz
[chore]: Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#2714)v0.14.0
* [chore]: Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * cast the exxpected test values as float32 to bypass (possible) testify suite regression --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: kim <grufwub@gmail.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, 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 1701af2a3..000000000
--- 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
-}