Remove race in patch test

This commit is contained in:
Max Brosnahan 2015-11-10 22:13:56 -07:00
parent 376b73ae4b
commit 98d8c939c2
1 changed files with 2 additions and 4 deletions

View File

@ -187,10 +187,8 @@ func TestPatchOverflow(t *testing.T) {
body := &noEOFReader{}
go func() {
body.Write([]byte("hellothisismorethan15bytes"))
body.Close()
}()
body.Write([]byte("hellothisismorethan15bytes"))
body.Close()
(&httpTest{
Name: "Too big body exceeding file size",