Closed breml closed 7 years ago
A bit awkward as you say, but I don't have any suggestions for making it cleaner so let's go with this for now. Thanks!
Thank you very much Breml. Love all the commits you've pushed to this app.
@matejzero My pleasure!
The output
Comparing message 2 of 1_10_beeware_test.json...
is printed while iterating over all received events in line testcase/testcase.go#L189. At this point, a check to verify, if the number of received events equals the number of expected events, was already performed here. Because of this behavior and because it is possible, that an input line may generate no events, an event per input or event multiple events for a single input, the number of descriptions has to match the number of expected events. This makes the implementation a little bit awkward.I am open for suggestions to improve the solution.
Fixes #36