Skip to content

Commit

Permalink
tests: ensure we cover ReadAndUnmarshal code path
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynos committed Apr 8, 2017
1 parent 4be10ec commit 2310ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/endpoints/bar/bar_normal_test.go
Expand Up @@ -107,7 +107,7 @@ func TestBarNormalMalformedClientResponseReadAll(t *testing.T) {
gateway.HTTPBackends()["bar"].Server.ConnState =
func(conn net.Conn, state http.ConnState) {
_, _ = conn.Write([]byte(
"HTTP/1.1 500 Internal Server Error\n" +
"HTTP/1.1 200 OK\n" +
"Content-Length: 12\n" +
"\n" +
"abc\n"))
Expand Down

0 comments on commit 2310ecd

Please sign in to comment.