Skip to content

Commit a8dc43e

Browse files
committed
internal/testenv: do not delete target file
We did not create it. We should not delete it. Change-Id: If98454ab233ce25367e11a7c68d31b49074537dd Reviewed-on: https://go-review.googlesource.com/37030 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
1 parent 2770c50 commit a8dc43e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/internal/testenv/testenv_windows.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ func initWinHasSymlink() {
3030
winSymlinkErr = err
3131
}
3232
}
33-
os.Remove("target")
3433
}
3534

3635
func hasSymlink() (ok bool, reason string) {

0 commit comments

Comments
 (0)