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

feat: add replacement field to Mutant #274

Merged
merged 1 commit into from
Dec 27, 2023
Merged

feat: add replacement field to Mutant #274

merged 1 commit into from
Dec 27, 2023

Conversation

hugo-vrijswijk
Copy link
Member

@hugo-vrijswijk hugo-vrijswijk commented Dec 24, 2023

Adds a new field replacement to the Mutant class. This field contains the actually newly replaced part of the pattern, corresponding to the location.

Reason for adding this is because there is a mismatch between pattern and location. So for accurate location reporting, we need the part of the location that has been changed.

This allows the report to look like this:

image
image

Adds a new field `replacement` to the Mutant class. This field contains the actually newly replaced part of the pattern, corresponding to the `location`.

Reason for adding this is because there is a mismatch between `pattern` and `location`. So for accurate location reporting, we need the part of the `location` that has been changed.
@hugo-vrijswijk hugo-vrijswijk merged commit 2b2dfc8 into main Dec 27, 2023
8 checks passed
@hugo-vrijswijk hugo-vrijswijk deleted the replacement branch December 27, 2023 09:25
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.

1 participant