internal/test/race/race_yes.go
raw| 1 | // Copyright 2019 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 race |
| 6 | |
| 7 | // Package race exposes Enabled, a const indicating whether the test is running |
| 8 | // under the race detector. |
| 9 | package race |
| 10 | |
| 11 | // Enabled is true if the race detector is enabled. |
| 12 | const Enabled = true |