Open danilopedraza opened 3 months ago
the tests are much nicer to read now.
The repetition was solved with helper functions, which also improved the appearance of instantiations like EnumName::EnumMember(Box::new(another_enum_member()))
.
I should have done that from the beginning.
This is getting bad again. I'm repeating a lot of code in the tests just to make them work. The problem is I don't know how to specify the necessary type parameter for Parser<T>
.
This file has almost 1k lines of code (two thirds are tests). The code has a lot of inlining and some repetition. The tests have a lot of repetition and are difficult to understand. This needs to be improved.