cpu: fix typos in test case

Change-Id: Id6a27d0b3f3fc4181a00569bacc578e72b04ce09
GitHub-Last-Rev: 85c063d1a2
GitHub-Pull-Request: golang/go#53359
Reviewed-on: https://go-review.googlesource.com/c/go/+/411916
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Peter Zhang <binbin36520@gmail.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
This commit is contained in:
ag9920 2022-06-14 02:09:10 +00:00 committed by Gopher Robot
parent c29be2d41c
commit cad477c922

View file

@ -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")
}