Skip to content

Commit

Permalink
chore: Add one more x-goog-request-param test
Browse files Browse the repository at this point in the history
(This is relevant due to the way that Grpc.Net.Client concatenates
headers.)
  • Loading branch information
jskeet committed Jul 25, 2023
1 parent 21603e2 commit 3cfe10d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Google.Api.Gax.Grpc.Tests/CallSettingsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ public void FromGoogleRequestParamsHeader(string parameterName, string parameter
[InlineData("x\\y", "x%5Cy")]
[InlineData("x\U0001F600y", "x%F0%9F%98%80y")]
[InlineData("x\u20acy", "x%E2%82%ACy")]
[InlineData("x,y", "x%2Cy")]
public void FromGoogleRequestParamsHeader_CrossLanguageDocumentationForValue(string parameterValue, string expectedHeaderValue)
{
var callSettings = CallSettings.FromGoogleRequestParamsHeader("key", parameterValue);
Expand Down

0 comments on commit 3cfe10d

Please sign in to comment.