From 57737fe782bf7ad2d765c2efd80d75b3baca2c7b Mon Sep 17 00:00:00 2001 From: as Date: Mon, 5 Mar 2018 21:50:09 -0800 Subject: [PATCH] http: fs_test.go: correct subtle transposition of offset and whence --- src/net/http/fs_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/http/fs_test.go b/src/net/http/fs_test.go index 6ab122cf82..255d215f3c 100644 --- a/src/net/http/fs_test.go +++ b/src/net/http/fs_test.go @@ -993,7 +993,7 @@ func TestServeContent(t *testing.T) { for _, method := range []string{"GET", "HEAD"} { //restore content in case it is consumed by previous method if content, ok := content.(*strings.Reader); ok { - content.Seek(io.SeekStart, 0) + content.Seek(0, io.SeekStart) } servec <- serveParam{