[release/8.0] Fix ResponseCompressionMiddleware tests #60884
+2
−1
Azure Pipelines / aspnetcore-ci (Build Test: Windows Server x64)
failed
Mar 12, 2025 in 29m 15s
Build Test: Windows Server x64 failed
Annotations
azure-pipelines / aspnetcore-ci (Build Test: Windows Server x64)
src\Middleware\ResponseCompression\test\ResponseCompressionMiddlewareTest.cs#L1328
src\Middleware\ResponseCompression\test\ResponseCompressionMiddlewareTest.cs(1328,16): error CS0313: (NETCORE_ENGINEERING_TELEMETRY=Build) The type 'long?' cannot be used as type parameter 'T' in the generic type or method 'Assert.InRange<T>(T, T, T)'. The nullable type 'long?' does not satisfy the constraint of 'System.IComparable'. Nullable types can not satisfy any interface constraints.
Loading