New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Test Framework: Sort violations by line/column #1191

Closed
adangel opened this Issue Jun 16, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@adangel
Member

adangel commented Jun 16, 2018

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.

->

private void assertLineNumbers(Report report, TestDescriptor test) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment