-
Notifications
You must be signed in to change notification settings - Fork 185
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
Use public interface to test internal functions: Part-2 #1721
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1721 +/- ##
=======================================
Coverage 98.93% 98.93%
=======================================
Files 105 105
Lines 4504 4504
=======================================
Hits 4456 4456
Misses 48 48 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
UseMethod("func") | ||
} | ||
|
||
expect_true(lintr:::is_s3_generic(func)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is_s3_generic()
is tested aplenty indirectly (e.g. in test-expect_lint.R
).
This reverts commit d25d1f2.
@AshesITR Sorry, made another change right when you approved, but reverted it afterwards. |
Part of #1692