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 NUnit.Analyzers, addressing warnings #910

Merged
merged 1 commit into from
Dec 17, 2022

Conversation

atifaziz
Copy link
Member

This PR addresses #909. It adds the NUnit.Analyzers package to the tests project and addresses the following warnings/errors:

  • NUnit2015: Consider using Assert.That(actual, Is.SameAs(expected)) instead of Assert.AreSame(expected, actual)
  • NUnit2005: Consider using Assert.That(actual, Is.EqualTo(expected)) instead of Assert.AreEqual(expected, actual)
  • NUnit2031: Consider using Assert.That(actual, Is.Not.SameAs(expected)) instead of Assert.AreNotSame(expected, actual)

@atifaziz atifaziz changed the title Add NUnit.Analyzers, addressing errors/warnings: Add NUnit.Analyzers, addressing warnings Dec 17, 2022
@codecov
Copy link

codecov bot commented Dec 17, 2022

Codecov Report

Merging #910 (8f9c0c2) into master (625ee56) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #910   +/-   ##
=======================================
  Coverage   92.39%   92.39%           
=======================================
  Files         112      112           
  Lines        3444     3444           
  Branches     1021     1021           
=======================================
  Hits         3182     3182           
  Misses        200      200           
  Partials       62       62           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@atifaziz atifaziz linked an issue Dec 17, 2022 that may be closed by this pull request
@atifaziz atifaziz merged commit e46acc2 into morelinq:master Dec 17, 2022
@atifaziz atifaziz deleted the add-nunit-analyzers branch December 17, 2022 16:02
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.

Add NUnit.Analyzers to tests project
1 participant