-
Notifications
You must be signed in to change notification settings - Fork 186
remove context() calls #696
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
Conversation
@@ -1,5 +1,3 @@ | |||
context("assignment_linter") | |||
options(encoding = "UTF-8") |
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.
This turned out not to be necessary.
@@ -1,5 +1,3 @@ | |||
context("assignment_spaces") | |||
options(encoding = "UTF-8") |
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.
This turned out not to be necessary.
a <- 1 | ||
a | ||
}", | ||
trim_some(" |
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.
Usage of trim_some() greatly improves readability of these tests.
Their behaviour is unchanged.
test-exclusions.R is handled in #660.
This fixes all other occurences of
context()
in tests.Part of #665