Skip to content

Commit

Permalink
Tidy code
Browse files Browse the repository at this point in the history
  • Loading branch information
lazappi committed Nov 28, 2024
1 parent a048f2a commit 090e351
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/testthat/helper-skip_if_not_logged_in.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
skip_if_not_logged_in <- function() {
user_settings <- .get_user_settings()
testthat::skip_if(is.null(user_settings$access_token), "You must be logged in to run this test")
testthat::skip_if(
is.null(user_settings$access_token),
"You must be logged in to run this test"
)
}

0 comments on commit 090e351

Please sign in to comment.