Skip to content

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.

3 participants