Skip to content
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

Nest authored test functions for safety #1951

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

heaths
Copy link
Member

@heaths heaths commented Dec 9, 2024

Like tokio::test et. al., nest the authored test functions and call them, which helps maintain code safety by separating contexts as recommended for all macros.

@heaths heaths requested a review from RickWinter as a code owner December 9, 2024 18:54
@heaths heaths requested a review from analogrelay December 9, 2024 18:54
@heaths heaths changed the title nest test funcs Nest authored test functions for safety Dec 9, 2024
Like `tokio::test` et. al., nest the authored test functions and call them, which helps maintain code safety by separating contexts as recommended for all macros.
@heaths heaths merged commit bae38b3 into Azure:main Dec 10, 2024
13 checks passed
@heaths heaths deleted the nest-test-funcs branch December 10, 2024 00:11
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