Commit 2ad58e73 authored by Jérome Perrin's avatar Jérome Perrin

fix a syntax error

parent a432ec77
...@@ -597,6 +597,7 @@ func httpPost(t *testing.T, url string, headers map[string]string, reqBody []byt ...@@ -597,6 +597,7 @@ func httpPost(t *testing.T, url string, headers map[string]string, reqBody []byt
func assertNginxResponseBuffering(t *testing.T, expected string, resp *http.Response, msgAndArgs ...interface{}) { func assertNginxResponseBuffering(t *testing.T, expected string, resp *http.Response, msgAndArgs ...interface{}) {
actual := resp.Header.Get(helper.NginxResponseBufferHeader) actual := resp.Header.Get(helper.NginxResponseBufferHeader)
assert.Equal(t, expected, actual, msgAndArgs...) assert.Equal(t, expected, actual, msgAndArgs...)
}
// sha1(data) as human-readable string // sha1(data) as human-readable string
func sha1s(data []byte) string { func sha1s(data []byte) string {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment