You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Elric V <el...@melnib.one> on 2024/02/26 23:29:20 UTC

[CLI] Patch - JUnit 5 upgrade

Hi folks,

I couldn't sleep, so I created a merge request to switch Commons CLI to 
JUnit 5. Before the patch, a mixture of 4 and 5 was used.

https://github.com/apache/commons-cli/pull/238

This is a pretty "simple" change, if a bit verbose. It merely converts 
the JUnit 4 constructs to their JUnit 5 equivalents.

What makes the patch a bit larger is that the optional "message" 
argument in assertions was moved; it was the first argument in old 
assertions, but it's the last argument in the new style. This is a 
stupid change, but what can you do ...

Enjoy,

Elric

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org