Skip to content

Comments

Update with_mocked_responses to use new name in docs#715

Merged
hadley merged 1 commit intor-lib:mainfrom
jansim:fix/with-mocked-responses-example
Apr 4, 2025
Merged

Update with_mocked_responses to use new name in docs#715
hadley merged 1 commit intor-lib:mainfrom
jansim:fix/with-mocked-responses-example

Conversation

@jansim
Copy link
Contributor

@jansim jansim commented Apr 4, 2025

The docs for with_mocked_responses still use with_mock in the examples / return values, which had me confused for a moment when using these today.

I think it makes sense to use the non-deprecated name instead? This PR replaces with_mock with with_mocked_responses in the roxygen comments.

@jansim jansim marked this pull request as ready for review April 4, 2025 00:50
@hadley
Copy link
Member

hadley commented Apr 4, 2025

Oops, good catch, thanks!

@hadley hadley merged commit 19d57be into r-lib:main Apr 4, 2025
13 checks passed
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