You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add explicit appliesTo() tests for HaveTrait and NotHaveTrait rules
Following the pattern from PR #561, add comprehensive tests that explicitly verify the appliesTo() method behavior for both HaveTrait and NotHaveTrait expressions:
- Add tests verifying appliesTo() returns true for regular classes
- Add tests verifying appliesTo() returns false for interfaces
- Add tests verifying appliesTo() returns false for traits
- Add tests verifying evaluate() respects appliesTo() behavior
Also fix coding standards (trailing commas) in various files.
This ensures proper test coverage and prevents the issues fixed in PR #561.
0 commit comments