Skip to content

Commit

Permalink
add tests with commas in the baggage value
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaspimentel committed Oct 31, 2024
1 parent 23717b9 commit 376556e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ static W3CBaggagePropagatorTests()
{ string.Empty, [("key1", string.Empty)] },
{ "key1=value1,key2=value2", [("key1", "value1"), ("key2", "value2")] },
{ "key1=value1=valid", [("key1", "value1=valid")] },
{ "key1=value1%2Cvalid", [("key1", "value1,valid")] },
{ "%20key1%20=%20value1%20", [(" key1 ", " value1 ")] },
{ "name=Jos%C3%A9", [("name", "José")] },
{ "key%F0%9F%90%B6=value%F0%9F%98%BA", [("key🐶", "value😺")] },
Expand All @@ -51,6 +52,7 @@ static W3CBaggagePropagatorTests()
{ "=", null },
{ "key1=value1,key2=value2", [("key1", "value1"), ("key2", "value2")] },
{ "key1=value1,invalid", [("key1", "value1")] },
{ "key1=value1%2Cvalid", [("key1", "value1,valid")] },
{ "key1=value1=valid", [("key1", "value1=valid")] },
{ "%20key1%20=%20value1%20", [(" key1 ", " value1 ")] },
{ "name=Jos%C3%A9", [("name", "José")] },
Expand Down

0 comments on commit 376556e

Please sign in to comment.