stretchr / testify

A toolkit with common assertions and mocks that plays nicely with the standard library
MIT License
22.53k stars 1.57k forks source link

proposal: analogue of `InDeltaMapValues` with different deltas #1496

Open Antonboom opened 8 months ago

Antonboom commented 8 months ago

Hi!

Looks like InDeltaMapValues doesn't make sense if I need different deltas for different keys.

Thanks.

dolmen commented 8 months ago

I understand what you don't want. But it is not clear to me what you want instead.

Antonboom commented 8 months ago

I made some example 🙏 https://go.dev/play/p/Rywjnhgua9q

brackendawson commented 4 months ago

Genuine question, does this meet this threshold? What were you testing?