Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Ye <benye@amazon.com>
  • Loading branch information
yeya24 committed Jun 13, 2024
1 parent 43f0db5 commit c4974e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config/http_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2023,7 +2023,6 @@ func TestHTTPClientConfig_Marshal(t *testing.T) {
proxy_url: "http://localhost:8080"
follow_redirects: false
enable_http2: false
http_headers: null
`, string(actualYAML))

// Unmarshalling the YAML should get the same struct in input.
Expand All @@ -2040,8 +2039,7 @@ http_headers: null
"proxy_url":"http://localhost:8080",
"tls_config":{"insecure_skip_verify":false},
"follow_redirects":false,
"enable_http2":false,
"http_headers":null
"enable_http2":false
}`, string(actualJSON))

// Unmarshalling the JSON should get the same struct in input.
Expand Down

0 comments on commit c4974e5

Please sign in to comment.