Skip to content

Conversation

@alexandear
Copy link
Contributor

@alexandear alexandear commented Sep 12, 2023

Summary

This PR removes assert.canConvert function that is needed for compatibility with Go 1.16.

Changes

  • Remove files assertion_compare_can_convert.go, assertion_compare_legacy.go.
  • Merge tests from assertion_compare_go1.17_test.go with tests in assertion_compare_test.go.

Motivation

We no longer need canConvert because the minimum supported version is Go 1.17.

Related issues

@alexandear alexandear changed the title Remove not longer needed assert.canConvert Remove no longer needed assert.canConvert Sep 12, 2023
dolmen

This comment was marked as resolved.

@dolmen dolmen added pkg-assert Change related to package testify/assert internal/refactor Refactor internals with no external visible changes hacktoberfest-accepted Hacktoberfest labels Oct 10, 2023
@dolmen dolmen merged commit 1ee798c into stretchr:master Oct 10, 2023
@alexandear alexandear deleted the assert-remove-legacy-can-convert branch October 10, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted Hacktoberfest internal/refactor Refactor internals with no external visible changes pkg-assert Change related to package testify/assert

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants