Download Latest Version v1.11.1 source code.tar.gz (116.9 kB)
Email in envelope

Get an email when there's a new version of Testify

Home / v1.11.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-08-27 810 Bytes
v1.11.1 source code.tar.gz 2025-08-27 116.9 kB
v1.11.1 source code.zip 2025-08-27 137.9 kB
Totals: 3 Items   255.6 kB 1

This release fixes [#1785] introduced in v1.11.0 where expected argument values implementing the stringer interface (String() string) with a method which mutates their value, when passed to mock.Mock.On (m.On("Method", <expected>).Return()) or actual argument values passed to mock.Mock.Called may no longer match one another where they previously did match. The behaviour prior to v1.11.0 where the stringer is always called is restored. Future testify releases may not call the stringer method at all in this case.

What's Changed

Full Changelog: https://github.com/stretchr/testify/compare/v1.11.0...v1.11.1

Source: README.md, updated 2025-08-27