Assertion: assertLinesMatch()
Learn how to use the assertLinesMatch() method in JUnit 5.
We'll cover the following...
The assertLinesMatch()
method
The assertLinesMatch()
method asserts that two lists of multiple String
instances match. The matching algorithm used by assertLinesMatch()
is more complicated than a simple string equality check. This is because output strings are usually templated ...