Skip to content

Commit

Permalink
Merge pull request #43 from jvantuyl/jvantuyl/readme-example-typo/1
Browse files Browse the repository at this point in the history
fix typo in example
  • Loading branch information
brandonjoyce authored Jun 23, 2023
2 parents d5f2495 + c0f6950 commit 6dd25cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ assert_receive({ExampleModule, :example, ["count"]})
Remember that pattern matching is your friend so you can do all kinds of neat tricks on these messages.
```elixir
assert_receive({ExampleModule, :example, ["c" <> _rest]}) # verify starts with "c"
assert_receive({ExampleModule, :example, [%{test: 1}]) # pattern match map arguments
assert_receive({ExampleModule, :example, [%{test: 1}]}) # pattern match map arguments
assert_receive({ExampleModule, :example, [x]}) # assign an argument to x to verify another way
assert x == "count"
```
Expand Down

0 comments on commit 6dd25cd

Please sign in to comment.