Add tests for cache internal pkg

This commit is contained in:
Mathieu HANOTAUX
2022-12-04 16:30:27 +01:00
parent 76e5c7497d
commit 15baee5c07
45 changed files with 19670 additions and 0 deletions
+16
View File
@@ -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
}