Files
coder/testutil/race.go
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
340 B
Go
Raw Normal View History

package testutil
// RaceEnabled returns whether the race detector is enabled.
// This is a constant at compile time. It should be used to
// conditionally skip tests that are known to be sensitive to
// being run with the race detector enabled.
// Please use sparingly and as a last resort.
func RaceEnabled() bool {
return raceEnabled
}