diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6f61ee9..668d612 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -105,8 +105,6 @@ jobs: - name: Test with coverage # Skip Integration (needs Mongo/Redis) and TimeCritical (wall-clock asserts) tests on shared CI runners. - # Microsoft.Testing.Platform (see global.json) — xunit.v3 4.x dropped the VSTest bridge, so the - # VSTest --filter expression and --collect:"XPlat Code Coverage" no longer apply here. run: dotnet test -c Release --no-build --filter-not-trait "Category=Integration" --filter-not-trait "Category=TimeCritical" --coverage --coverage-output-format cobertura --results-directory ./coverage - name: Upload coverage to Codecov diff --git a/Tharga.Cache.Tests/AddCacheConcurrencyTests.cs b/Tharga.Cache.Tests/AddCacheConcurrencyTests.cs index 617626c..b8036cc 100644 --- a/Tharga.Cache.Tests/AddCacheConcurrencyTests.cs +++ b/Tharga.Cache.Tests/AddCacheConcurrencyTests.cs @@ -12,8 +12,7 @@ public class AddCacheConcurrencyTests private sealed record Marker; - // Nesting a generic in itself yields as many distinct cache types as needed without - // declaring one class per host. + // Nesting Marker in itself yields N distinct cache types without N declared classes. private static Type MarkerType(int depth) { var type = typeof(object);