http: fs_test.go: correct subtle transposition of offset and whence

This commit is contained in:
as 2018-03-05 21:50:09 -08:00
parent 8916773a3d
commit 57737fe782
1 changed files with 1 additions and 1 deletions

View File

@ -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{