jjh42 / mock

Mocking library for Elixir language
MIT License
639 stars 81 forks source link

Documentation for wildcard matches in called/1 and assert_called/1 #99

Closed nampas closed 5 years ago

nampas commented 5 years ago

The underlying meck function supports wildcard matching by passing in the :_ atom. Very handy, let's document it!

https://hexdocs.pm/meck/meck.html#called-4

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling f0675ff5e31e6b915e569c6cb75260c35eb000f9 on nampas:np-called-wildcard-docs into a1f216ec9037ae8082531d03de2a5b97d1d040b2 on jjh42:master.

Olshansk commented 5 years ago

Thanks for the contribution!