Closed pjritee closed 9 years ago
The name of that test is 'get_digits returns a string'
I think in that context, the error message is sufficiently descriptive.
+1. There's also the obvious learning benefit of having students familiarise themselves with trying to read slightly-unusual error messages.
If I leave out the return I get
that could be fixed in this case by checking for a return but lets say the student wrote
then it would be
Could we do better?