typo: fix typos in cpu package

This commit is contained in:
ag9920 2022-06-14 00:48:33 +08:00
parent 55590f3a2b
commit 85c063d1a2

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