mirror of
https://github.com/golang/go
synced 2024-09-05 16:04:50 +00:00
typo: fix typos in cpu package
This commit is contained in:
parent
55590f3a2b
commit
85c063d1a2
|
@ -19,7 +19,7 @@ func MustHaveDebugOptionsSupport(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func MustSupportFeatureDectection(t *testing.T) {
|
||||
func MustSupportFeatureDetection(t *testing.T) {
|
||||
// TODO: add platforms that do not have CPU feature detection support.
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,7 @@ func runDebugOptionsTest(t *testing.T, test string, options string) {
|
|||
}
|
||||
|
||||
func TestDisableAllCapabilities(t *testing.T) {
|
||||
MustSupportFeatureDectection(t)
|
||||
MustSupportFeatureDetection(t)
|
||||
runDebugOptionsTest(t, "TestAllCapabilitiesDisabled", "cpu.all=off")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue