Skip to content

Commit

Permalink
trying again
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd committed Oct 20, 2023
1 parent b8e328d commit c25e835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Flurl.Test/Http/FlurlClientBuilderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void inner_hanlder_is_SocketsHttpHandler_when_supported() {
#endif
if (supported) {
Console.WriteLine($"{shh.FullName} Found in {typeof(HttpClientHandler).Assembly.FullName}");
supported = (bool)shh.GetProperty("IsSupported").GetValue(Activator.CreateInstance(shh));
supported = shh.GetProperty("IsSupported")?.GetValue(Activator.CreateInstance(shh)) as bool? == true;
Console.WriteLine($"IsSupported = {supported}");
}

Expand Down

0 comments on commit c25e835

Please sign in to comment.