For tests, when there are multiple violations and we verify the rows/column, then it sometimes happens, that the violations are reported in an arbitrary order. However, when we compare the expected line numbers, we compare a list with specific ordering.
To make it easier, we should sort the violations before comparing the expected line numbers.
->
pmd/pmd-test/src/main/java/net/sourceforge/pmd/testframework/RuleTst.java
Line 199 in 5241ebf
private void assertLineNumbers(Report report, TestDescriptor test) {RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4