mirror of
https://github.com/stretchr/testify.git
synced 2025-05-01 13:10:04 +00:00
* fixing panic in calls to assertion with nil m.mutex This reverts a change that was made in https://github.com/stretchr/testify/pull/1182 The PR makes m.mutex a pointer which now needs to be checked but it's not checked for nil everywhere. This should also help with these issues: - https://github.com/stretchr/testify/issues/1208 - https://github.com/stretchr/testify/issues/1210 * Revert throwing out the lock because other concurrent calls can already have it locked * fix go vet copy lock by using pointer * fix obj assignment for passing test