3 ms·
I'm glad I work in a language where this is assertRaises(FooBarException, thisShouldThrowFooBarException) Impossible to mistype, and states exactly what sho
by deathanatos 13y ago
I'm glad I work in a language where this is
assertRaises(FooBarException, thisShouldThrowFooBarException)
Impossible to mistype, and states exactly what should happen.
- TeMPOraL 13y agoFirst thing to do when working with the former is to write some code that will allow you to write the latter.