libgo/go/testing/testing_other.go
raw| 1 | // Copyright 2021 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build !windows |
| 6 | |
| 7 | package testing |
| 8 | |
| 9 | // isWindowsAccessDenied reports whether err is ERROR_ACCESS_DENIED, |
| 10 | // which is defined only on Windows. |
| 11 | func isWindowsAccessDenied(err error) bool { |
| 12 | return false |
| 13 | } |