Skip to content

Updating tests to use xUnit v3 and MTP #3808

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

Closed
wants to merge 2 commits into from
Closed

Updating tests to use xUnit v3 and MTP #3808

wants to merge 2 commits into from

Conversation

Keboo
Copy link
Member

@Keboo Keboo commented Mar 7, 2025

No description provided.

@corvinsz
Copy link
Member

I think this can easily be fixed with a little regex magic?
Replace:

await\s+Task\.Delay\s*\(\s*([^)]*?)\s*\)\s*;

With

await Task.Delay($1, TestContext.Current.CancellationToken);

And don't forget to check Use regular expressions

@Keboo
Copy link
Member Author

Keboo commented Apr 25, 2025

Closing in favor of #3838

@Keboo Keboo closed this Apr 25, 2025
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