Skip to content

Commit

Permalink
Update baggage_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Dec 8, 2023
1 parent 6b5de85 commit 00be1c9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion baggage/baggage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,10 +415,15 @@ func TestBaggageParse(t *testing.T) {
err: errInvalidValue,
},
{
name: "invalid property: invalid key",
name: "invalid property: no key",
in: "foo=1;=v",
err: errInvalidProperty,
},
{
name: "invalid property: invalid key",
in: "foo=1;key\\=v",
err: errInvalidProperty,
},
{
name: "invalid property: invalid value",
in: "foo=1;key=\\",
Expand Down

0 comments on commit 00be1c9

Please sign in to comment.