Closed freemansoft closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 98.46%. Comparing base (
b20e952
) to head (817346c
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The previous unit test saved me from doing something stupid. Let's hear it for regression protection tests!
We want to throw if an invalid token definition was used which would be anything other than a map of the 3 attributes of "value".
This causes a hard to debug later when a null check catches the null.
This code instead throws a FormatException that will get later wrapped and logged making debugging easier.