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

QuickFix for Assert.Multiple looses white space before and comments after #534

Closed
manfred-brands opened this issue Apr 24, 2023 · 0 comments · Fixed by #538
Closed

QuickFix for Assert.Multiple looses white space before and comments after #534

manfred-brands opened this issue Apr 24, 2023 · 0 comments · Fixed by #538
Labels

Comments

@manfred-brands
Copy link
Member

Given:

... some statement

Assert.That(a, ...);
Assert.That(b, ...);
// Some comment

The Assert.Multiple quickfix converts this into:

... some statement
Assert.Multiple(() =>
{
    Assert.That(a, ...);
    Assert.That(b, ...);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants