6 May
2014
6 May
'14
3:02 p.m.
On 06/05/2014 15:52, Ivan Gerasimov wrote:
I tried to make the added test consistent with the rest of the code. I can surely rewrite it, but should I refactor other code as well then? I think the the existing tests pre-date the vararg variant of register, there isn't a big need to change those.
For the new test then it would be good to use try-with-resources here. It would be good to change testExceptions too but not important for this change. -Alan.