Skip to content

Commit

Permalink
Fix note about utils::
Browse files Browse the repository at this point in the history
  • Loading branch information
nealrichardson committed Nov 7, 2023
1 parent 3e6f8cc commit 8abad34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/expect-request-header.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ expect_request_header <- function(expr,

with_mock <- function(mock, code) {
if (httr2_1.0.0) {
getFromNamespace("with_mocked_responses", "httr2")(mock, code)
utils::getFromNamespace("with_mocked_responses", "httr2")(mock, code)
} else {
httr2::with_mock(mock, code)
}
Expand Down

0 comments on commit 8abad34

Please sign in to comment.