]> Cypherpunks repositories - gostls13.git/commit
os: don't check for developer mode in TestSymlinkCreation
authorqmuntal <quimmuntal@gmail.com>
Thu, 24 Oct 2024 15:41:43 +0000 (17:41 +0200)
committerGopher Robot <gobot@golang.org>
Mon, 28 Oct 2024 15:20:33 +0000 (15:20 +0000)
commitd8f9c4c1ac0bb170f72857f67e0b8fd18904daa1
tree198c85df8f6e6d83e96ea53e3f68ead004596a79
parent9f8bf040570efecf252110e95d3d66067925b3ea
os: don't check for developer mode in TestSymlinkCreation

testenv.HasSymlink is already smart enough to return false
if the process is not elevated or developer mode is not enabled.
There is no need to check it twice.

Change-Id: Ib26c1509058230b07dbf5f2c808a10ae731f4ae4
Reviewed-on: https://go-review.googlesource.com/c/go/+/622156
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
src/os/os_windows_test.go