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

Suppress method redefinition warnings #80

Merged
merged 1 commit into from
May 13, 2023

Conversation

dgollahon
Copy link
Owner

@dgollahon dgollahon commented May 13, 2023

  • When running with $VERBOSE set to true, rspectre generates a very large # of method redefinition warnings. We can suppress those by removing the method before redefining it. This is very slightly less performant but I think it's worth it.
  • Also enforces that we have no STDERR output in CI. Required slightly modifying a couple of spec examples that triggered warnings.

- When running with `$VERBOSE` set to `true`, rspectre generates a very large # of method redefinition warnings. We can suppress those by removing the method before redefining it. This is very slightly less performant but I think it's worth it.
- Also enforces that we have no STDERR output in CI. Required slightly modifying a couple of spec examples that triggered warnings.
@dgollahon dgollahon force-pushed the suppress-method-redefinition-warnings branch from 66c4a17 to fd1c128 Compare May 13, 2023 23:04
@dgollahon dgollahon merged commit ee60a4e into master May 13, 2023
@dgollahon dgollahon deleted the suppress-method-redefinition-warnings branch May 13, 2023 23:04
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.

None yet

1 participant