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

Fix: Use more appropriate message when detecting protected method in anonymous class #890

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

localheinz
Copy link
Member

@localheinz localheinz commented Jan 6, 2025

This pull request

  • adds a test case for an anonymous class
  • uses a more appropriate message when detecting a protected method in an anonymous class

@localheinz localheinz added the bug label Jan 6, 2025
@localheinz localheinz self-assigned this Jan 6, 2025
@localheinz localheinz force-pushed the fix/anonymous branch 2 times, most recently from ff8ad44 to 8a20466 Compare January 6, 2025 08:56
@localheinz localheinz changed the title Fix: Use more appropriate message when detecting protected method in final anonymous class Fix: Use more appropriate message when detecting protected method in anonymous class Jan 6, 2025
@localheinz localheinz changed the title Fix: Use more appropriate message when detecting protected method in anonymous class Fix: Use more appropriate message when detecting protected method in anonymous class Jan 6, 2025
Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.48%. Comparing base (8b2a546) to head (3102451).
Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #890      +/-   ##
============================================
+ Coverage     97.45%   97.48%   +0.03%     
- Complexity      203      204       +1     
============================================
  Files            23       23              
  Lines           706      717      +11     
============================================
+ Hits            688      699      +11     
  Misses           18       18              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@localheinz localheinz merged commit 317259a into main Jan 6, 2025
25 checks passed
@localheinz localheinz deleted the fix/anonymous branch January 6, 2025 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant