Skip to content

Updating tests to use xUnit v3 and MTP#3808

Closed
Keboo wants to merge 2 commits into
masterfrom
testingUpgrades
Closed

Updating tests to use xUnit v3 and MTP#3808
Keboo wants to merge 2 commits into
masterfrom
testingUpgrades

Conversation

@Keboo

@Keboo Keboo commented Mar 7, 2025

Copy link
Copy Markdown
Member

No description provided.

@corvinsz

Copy link
Copy Markdown
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

Keboo commented Apr 25, 2025

Copy link
Copy Markdown
Member Author

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