From 85c063d1a2d62181d16044592a60acf970fe3c86 Mon Sep 17 00:00:00 2001 From: ag9920 Date: Tue, 14 Jun 2022 00:48:33 +0800 Subject: [PATCH] typo: fix typos in cpu package --- src/internal/cpu/cpu_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal/cpu/cpu_test.go b/src/internal/cpu/cpu_test.go index e72d2d639c..c95cd51726 100644 --- a/src/internal/cpu/cpu_test.go +++ b/src/internal/cpu/cpu_test.go @@ -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") }