jjh42 / mock

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

docs: add pattern matching examples for assert_called #112

Closed superhawk610 closed 4 years ago

superhawk610 commented 4 years ago

This PR adds a few examples for advanced pattern matching usage with assert_called.

Inspired by this issue thread.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 403f2e3151b7399f7dd42a2a3261d7d4c556b3eb on superhawk610:docs/pattern-matching into dc5938ada7730946740f8d6d18a8734e61adf467 on jjh42:master.

Olshansk commented 4 years ago

This is fantastic. Thanks a lot @superhawk610!