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

Add analyzer for FunctionalAssert usage #843

Merged
merged 5 commits into from
Feb 5, 2025
Merged

Conversation

bash
Copy link
Member

@bash bash commented Feb 4, 2025

Resolves #749

The analyzer recommends FunctionalAssert.Foo(expected, actual) over Assert.Equal(expected, FunctionalAssert.Foo(actual))

@bash bash requested review from FreeApophis and Mafii February 4, 2025 15:43
@bash bash enabled auto-merge February 4, 2025 15:43
FreeApophis
FreeApophis previously approved these changes Feb 4, 2025
@bash bash force-pushed the functional-assert-analyzer branch from 3bca2a1 to 73a7503 Compare February 4, 2025 15:45
@bash bash merged commit 40b406d into main Feb 5, 2025
9 checks passed
@bash bash deleted the functional-assert-analyzer branch February 5, 2025 07:45
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.

Funcky.Xunit - Analyzer for Assert.Equal with FunctionalAssert.Ok/Some/Error/etc. in the actual parameter
2 participants