elixirkoans / elixir-koans

Elixir learning exercises
MIT License
2.22k stars 599 forks source link

Fix example to actually check message order as desc suggests #276

Closed iamvery closed 2 years ago

iamvery commented 2 years ago

Reported in #275

Problem

Example suggests order is important, but fails to check that in how it is written.

Solution

Refactor example to explicitly receive messages and assert the order in which they are received.

iamvery commented 2 years ago

@EB-Plum thanks for reporting this!