aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_other.go
blob: 29496d81bc7f1aa03a1542ead1070003b87499bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !windows

package testing

// isWindowsAccessDenied reports whether err is ERROR_ACCESS_DENIED,
// which is defined only on Windows.
func isWindowsAccessDenied(err error) bool {
	return false
}