Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 271326f

Browse files
author
Geoff Kizer
committed
fix netfx test build
1 parent 138dd3f commit 271326f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Authentication.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class HttpClientHandler_Authentication_Test : HttpClientTestBase
3434
[MemberData(nameof(Authentication_TestData))]
3535
public async Task HttpClientHandler_Authentication_Succeeds(string authenticateHeader, bool result)
3636
{
37-
if (PlatformDetection.IsWindowsNanoServer || (IsCurlHandler && authenticateHeader.Contains("Digest", StringComparison.OrdinalIgnoreCase)))
37+
if (PlatformDetection.IsWindowsNanoServer || (IsCurlHandler && authenticateHeader.ToLowerInvariant().Contains("digest")))
3838
{
3939
// TODO: #27113: Fix failing authentication test cases on different httpclienthandlers.
4040
return;

0 commit comments

Comments
 (0)