diff --git a/integration-tests/nghttpx_test.go b/integration-tests/nghttpx_test.go index f3d90ce6..7d75d6f8 100644 --- a/integration-tests/nghttpx_test.go +++ b/integration-tests/nghttpx_test.go @@ -54,7 +54,13 @@ func TestH1H1MultipleRequestCL(t *testing.T) { }) defer st.Close() - if _, err := io.WriteString(st.conn, fmt.Sprintf("GET / HTTP/1.1\r\nHost: %v\r\nTest-Case: TestH1H1MultipleRequestCL\r\nContent-Length: 0\r\nContent-Length: 1\r\n\r\n", st.authority)); err != nil { + if _, err := io.WriteString(st.conn, fmt.Sprintf(`GET / HTTP/1.1 +Host: %v +Test-Case: TestH1H1MultipleRequestCL +Content-Length: 0 +Content-Length: 1 + +`, st.authority)); err != nil { t.Fatalf("Error io.WriteString() = %v", err) }