ImperialCollegeLondon / epidemia

epidemia package
https://imperialcollegelondon.github.io/epidemia/index.html
47 stars 15 forks source link

Specific error message checks in input unit tests #1

Closed jonathanishhorowicz closed 4 years ago

jonathanishhorowicz commented 4 years ago

The current input checking tests do not check the error messages, which could hide other problems. This will require removing $ from the error messages.

jscott6 commented 4 years ago

@jonathanishhorowicz Just checking if this issue is closed now? Think I saw some tests which do this

jonathanishhorowicz commented 4 years ago

I have been adding it to new tests, where possible, but the tests that this issue refers to haven't been changed.

jonathanishhorowicz commented 4 years ago

I will add the messages to the remaining tests this week - turns out I was just using regexp in the wrong way!