Hey there folks!
Highlighting a few things that could be improved in the expenses Go exercise.
-
The test case error message in the following lines could be updated to use the correct function signature. The function signature in the code has DaysPeriod as the second argument & category as the third. In these lines however its flipped.
-
Test case only uses “unknown category” in the error message. Could this be updated to include the category in the message like it is shown in the instructions?
-
In line 3 (& 143) expense records seems to be the correct wording rather than expenses records. Not sure if this needs to change.
Happy to create a PR if any or all of these could be updated.
