Skip to content

Commit

Permalink
Clarify error
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSher committed Nov 15, 2022
1 parent 09be89e commit 1fc258d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/core/Azure.Core/tests/TransportFunctionalTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public async Task CanGetAndSetResponseHeaders(string headerName, string headerVa

Response response = await ExecuteRequest(request, transport);

Assert.True(response.Headers.Contains(headerName));
Assert.True(response.Headers.Contains(headerName), $"response.Headers contains the following headers: {string.Join(", ", response.Headers.Select(h => $"\"{h.Name}\": \"{h.Value}\""))}");

Assert.True(response.Headers.TryGetValue(headerName, out var value));
Assert.AreEqual(headerValue, value);
Expand Down

0 comments on commit 1fc258d

Please sign in to comment.