Hi,
Assuming you want to receive the same message, wouldn't this only be
slightly shorter than using
```
for _ <- 1..3, do: assert_receive({"msg", _})
```
- Sven
On Thu, 6 Dec 2018 at 14:25 Anastasiya Dyachenko
wrote:
> Hi,
> In tests often face with need to write code like
> ```
>
Hi,
In tests often face with need to write code like
```
assert_receive {"msg", _}
assert_receive {"msg", _}
assert_receive {"msg", _}
```
where same messages or same matching messages expected to receive multiple
times.
It would be match better to have ability to set number of times message