Skip to content
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

Issue #14064: Regexp: violation pointing to line 0 while other Checks count first line as 1 #14057

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

suniti0804
Copy link
Contributor

@suniti0804 suniti0804 commented Nov 21, 2023

Resolves #14064

covers task of Issue #11446

Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only two places s left, you caught all - good.
suppression should not be removed, as there are places where it is required.

items for both:

Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Items

Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Items

@romani
Copy link
Member

romani commented Nov 25, 2023

special defect in Check is required to be fixed to let us use good style of test, this migration actaully found a defect in Check
#14064

pitest will fail, we need to extend test to kill such mutations. After issue is approved we need to change link to issue in commit to new issue, as it is actual fix in Check.

@romani
Copy link
Member

romani commented Nov 25, 2023

Issue is approved, we need to use new issue in commit as we are fixing defect.

https://pitest.org/quickstart/mutators/#NON_VOID_METHOD_CALLS
https://pitest.org/quickstart/mutators/#experimental-member-variable-mutator-experimental_member_variable

it simply means we do not have test for execution of Check in default mode, good catch.

@romani romani changed the title Issue #11446: Update RegexpCheckTest to use verifyWithInlineConfigParser Issue #14064: Update RegexpCheckTest to use verifyWithInlineConfigParser Nov 26, 2023
@romani romani changed the title Issue #14064: Update RegexpCheckTest to use verifyWithInlineConfigParser Issue #14064: Regexp: violation pointing to line 0 while other Checks count first line as 1 Nov 26, 2023
Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok to merge

@romani romani assigned nrmancuso and unassigned romani Nov 26, 2023
@nrmancuso
Copy link
Member

Ok to merge, CI is restarted

@rnveach rnveach merged commit b142dda into checkstyle:master Dec 6, 2023
113 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regexp: violation pointing to line 0 while other Checks count first line as 1
4 participants