Skip to content

Commit

Permalink
Drop a superflous os.Remove().
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsnowcurrently committed Apr 26, 2016
1 parent 87f4996 commit 369a38b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion downloader/download_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ func (s *DownloadSuite) testDownload(c *gc.C, hostnameVerification utils.SSLHost
downloader.NewHTTPBlobOpener(hostnameVerification),
)
status := <-d.Done()
defer os.Remove(status.File.Name())
defer status.File.Close()
c.Assert(status.Err, gc.IsNil)
c.Assert(status.File, gc.NotNil)
Expand Down

0 comments on commit 369a38b

Please sign in to comment.