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

Failing test for invalid mutation #1374

Closed
wants to merge 1 commit into from

Conversation

dgollahon
Copy link
Collaborator

No description provided.

@dgollahon
Copy link
Collaborator Author

dgollahon commented May 4, 2023

Note that bundle exec unparser {file with this code} doesn't seem to crash. I also believe the return is necessary.

Mutant::Meta::Example.add :if do
source <<~RUBY
def foo(bar:)
return true ? [] : [bar]
Copy link
Owner

Choose a reason for hiding this comment

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

BTW: I could reproduce this just on the ternary.

@mbj mbj closed this May 6, 2023
@mbj mbj deleted the failing-test-for-mutant-unparser-crash branch May 6, 2023 22:21
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.

3 participants