diff --git a/assert/assertion_compare_can_convert.go b/assert/assertion_compare_can_convert.go index 4a5627c32..df22c47fc 100644 --- a/assert/assertion_compare_can_convert.go +++ b/assert/assertion_compare_can_convert.go @@ -1,3 +1,4 @@ +//go:build go1.17 // +build go1.17 // TODO: once support for Go 1.16 is dropped, this file can be diff --git a/assert/assertion_compare_go1.17_test.go b/assert/assertion_compare_go1.17_test.go index bff219de6..d3ea935fa 100644 --- a/assert/assertion_compare_go1.17_test.go +++ b/assert/assertion_compare_go1.17_test.go @@ -1,3 +1,4 @@ +//go:build go1.17 // +build go1.17 // TODO: once support for Go 1.16 is dropped, this file can be diff --git a/assert/assertion_compare_legacy.go b/assert/assertion_compare_legacy.go index 0bb8ad712..1701af2a3 100644 --- a/assert/assertion_compare_legacy.go +++ b/assert/assertion_compare_legacy.go @@ -1,3 +1,4 @@ +//go:build !go1.17 // +build !go1.17 // TODO: once support for Go 1.16 is dropped, this file can be