Skip to content

Commit

Permalink
Rename local
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaZupan committed Feb 25, 2025
1 parent 759e123 commit c97be56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ReverseProxy.Tests/Forwarder/HttpForwarderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2871,14 +2871,14 @@ private static TException AssertErrorInfo<TException>(
Assert.Equal(error, errorFeature.Error);
Assert.IsAssignableFrom<TException>(errorFeature.Exception);

var errorIsDebugLevel = error is
var errorIsRequestCancelled = error is
ForwarderError.RequestCanceled or
ForwarderError.RequestBodyCanceled or
ForwarderError.ResponseBodyCanceled or
ForwarderError.UpgradeRequestCanceled or
ForwarderError.UpgradeResponseCanceled;

var expectedId = errorIsDebugLevel
var expectedId = errorIsRequestCancelled
? EventIds.ForwardingRequestCancelled
: EventIds.ForwardingError;

Expand Down

0 comments on commit c97be56

Please sign in to comment.