Skip to content

Commit

Permalink
cmd/go: delete TestGetFileURL temporary file
Browse files Browse the repository at this point in the history
Change-Id: I191ac2a2b469c6179d22d66c15f2d96ecb3d0902
Reviewed-on: https://go-review.googlesource.com/c/go/+/209970
Reviewed-by: Brad Fitzpatrick <[email protected]>
Run-TryBot: Brad Fitzpatrick <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
  • Loading branch information
mengzhuo authored and bradfitz committed Dec 5, 2019
1 parent af08822 commit 50535e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmd/go/internal/web/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ func TestGetFileURL(t *testing.T) {
if err != nil {
t.Fatal(err)
}
defer os.Remove(f.Name())

if _, err := f.WriteString(content); err != nil {
t.Error(err)
}
Expand Down

0 comments on commit 50535e6

Please sign in to comment.