Closed
Description
Description
AssertIsTrue: Simplify Assertion does not offer automatic fix to apply.
Complete minimal example reproducing the issue
This gets a suggestion but there is no fix shown to apply in VS.
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TestProject1
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
Assert.IsTrue(true);
}
}
}
Expected behavior:
Fix suggestion should be shown.
Actual behavior:
Fix suggestion is not shown.
Versions
- Which version of Fluent Assertions Analyzers are you using? FluentAssertions.Analyzers 0.17.2
- Which .NET runtime and version are you targeting? .NET Core 3.1.