Skip to content

CXX-3082 Rename ASSERT to EXPECT in API examples #1230

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 1 commit into from
Oct 7, 2024

Conversation

eramongodb
Copy link
Contributor

@eramongodb eramongodb commented Oct 7, 2024

To avoid conflating the purpose of this macro in API example code blocks as a declaration of expected for demonstrative purposes, not a contract assertion of program correctness.

@eramongodb eramongodb requested a review from kevinAlbs October 7, 2024 19:57
@eramongodb eramongodb self-assigned this Oct 7, 2024
@eramongodb eramongodb merged commit 3d640cc into mongodb:master Oct 7, 2024
2 of 5 checks passed
@eramongodb eramongodb deleted the cxx-3082-expect branch October 7, 2024 20:08
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