NET10 target. Updated unittest nugets #95
Annotations
10 warnings
|
build:
UnitTests/UnitTests.cs#L120
Assertion arguments should be passed in the correct order. 'actual' and 'expected'/'notExpected' arguments have been swapped. (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0017)
|
|
build:
UnitTests/UnitTests.cs#L100
Use 'Assert.AreEqual' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
|
|
build:
UnitTests/UnitTests.cs#L88
Use 'Assert.AreEqual' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
|
|
build:
UnitTests/UnitTests.cs#L54
Use 'Assert.AreEqual' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
|
|
build:
UnitTests/EvictionCallbackTests.cs#L32
Use 'Assert.HasCount' instead of 'Assert.AreEqual' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
|
|
build:
UnitTests/UnitTests.cs#L35
Use 'Assert.AreEqual' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
|
|
build:
UnitTests/EvictionCallbackTests.cs#L78
Use 'Assert.HasCount' instead of 'Assert.AreEqual' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
|
|
build:
UnitTests/EvictionCallbackTests.cs#L65
Use 'Assert.IsEmpty' instead of 'Assert.AreEqual' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
|
|
build:
UnitTests/EvictionCallbackTests.cs#L10
Non-nullable field '_cache' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
build:
UnitTests/EvictionCallbackTests.cs#L9
Non-nullable field '_evictedKeys' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|