Skip to content

Commit

Permalink
change test data to a non-synthetic use case
Browse files Browse the repository at this point in the history
Signed-off-by: david kydd <[email protected]>
  • Loading branch information
davidkydd committed Nov 4, 2024
1 parent dfb55b0 commit dda0b06
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/testdata/tls_config.next_protos.good.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"next_protos": ["testproto1", "testproto2"]}
{"next_protos": ["h2", "http/1.1"]}
2 changes: 1 addition & 1 deletion config/testdata/tls_config.next_protos.good.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
next_protos: ["testproto1", "testproto2"]
next_protos: ["h2", "http/1.1"]
4 changes: 2 additions & 2 deletions config/tls_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ var expectedTLSConfigs = []struct {
},
{
filename: "tls_config.next_protos.good.json",
config: &tls.Config{NextProtos: []string{"testproto1", "testproto2"}},
config: &tls.Config{NextProtos: []string{"h2", "http/1.1"}},
},
{
filename: "tls_config.tlsversion.good.json",
Expand All @@ -85,7 +85,7 @@ var expectedTLSConfigs = []struct {
},
{
filename: "tls_config.next_protos.good.yml",
config: &tls.Config{NextProtos: []string{"testproto1", "testproto2"}},
config: &tls.Config{NextProtos: []string{"h2", "http/1.1"}},
},
{
filename: "tls_config.tlsversion.good.yml",
Expand Down

0 comments on commit dda0b06

Please sign in to comment.