eproxus / meck

A mocking library for Erlang
http://eproxus.github.io/meck
Apache License 2.0
811 stars 231 forks source link

Add meck:capture(..., result) #250

Open rlipscombe opened 1 month ago

rlipscombe commented 1 month ago

See #249

I'm not sure whether we want to deprecate the use of meck_history:result(), so I only changed one of the unit tests to use the changed meck:capture().

Let me know what direction you prefer, and I'll change the PR.