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

Check @isTest classes are not abstract or virtual #223

Merged

Conversation

kjonescertinia
Copy link
Contributor

This just adds a simple check that you are not trying to use @istest with virtual or abstract. @istest is not legal on enums or interfaces or inner classes which we are checking so I think these are the only missed cases.

@kjonescertinia kjonescertinia linked an issue Aug 31, 2023 that may be closed by this pull request
@kjonescertinia kjonescertinia merged commit 3df2098 into main Sep 5, 2023
@kjonescertinia kjonescertinia deleted the 222-istest-can-not-be-used-on-abstract-classes branch September 5, 2023 21:42
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.

@isTest can not be used on abstract classes
2 participants