Skip to content

Commit

Permalink
Add parseExtensions test case (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
garyburd committed Dec 5, 2017
1 parent b89020e commit c55883f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions util_test.go
Expand Up @@ -79,6 +79,9 @@ var parseExtensionTests = []struct {
{`permessage-deflate; client_max_window_bits; server_max_window_bits=10 , permessage-deflate; client_max_window_bits`, []map[string]string{
{"": "permessage-deflate", "client_max_window_bits": "", "server_max_window_bits": "10"},
{"": "permessage-deflate", "client_max_window_bits": ""}}},
{"permessage-deflate; server_no_context_takeover; client_max_window_bits=15", []map[string]string{
{"": "permessage-deflate", "server_no_context_takeover": "", "client_max_window_bits": "15"},
}},
}

func TestParseExtensions(t *testing.T) {
Expand Down

0 comments on commit c55883f

Please sign in to comment.