Skip to content

add coverage test for methods.R #648

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

Merged
merged 6 commits into from
Dec 4, 2020
Merged

add coverage test for methods.R #648

merged 6 commits into from
Dec 4, 2020

Conversation

MichaelChirico
Copy link
Collaborator

@MichaelChirico MichaelChirico commented Dec 1, 2020

Everything uncovered in methods.R is covered by #630

@@ -1,4 +1,3 @@
context("rstudio_source_markers")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why has the test context been removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See https://www.tidyverse.org/blog/2020/10/testthat-3-0-0/ -- it's already kind of vestigial, and will be deprecated from testthat 3.0.0

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you think it's better to keep the removal of context() to a separate PR, lmk. just stripped it while I'm in here.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, thanks for the link - missed that.
I think it's okay to remove it gradually.

AshesITR
AshesITR previously approved these changes Dec 1, 2020
@MichaelChirico MichaelChirico changed the title WIP add coverage test for methods.R add coverage test for methods.R Dec 1, 2020
Copy link
Collaborator

@AshesITR AshesITR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please de-lint test-rstudio_markers.R.

@MichaelChirico MichaelChirico merged commit 5e53d7a into master Dec 4, 2020
@MichaelChirico MichaelChirico deleted the covr-methods branch December 4, 2020 17:33
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.

2 participants