diff options
author | Kevin Burke <kev@inburke.com> | 2016-12-16 07:50:08 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2016-12-16 16:09:13 +0000 |
commit | 1716add3dc50d4ef38183d01ac5c1a16c83a8ac9 (patch) | |
tree | f97476b3ea85d8497dc9ff8c42e02ef8c2546624 | |
parent | 7799022cddf440f79463afdad969360a2ca86a9e (diff) | |
download | go-1716add3dc50d4ef38183d01ac5c1a16c83a8ac9.tar.gz go-1716add3dc50d4ef38183d01ac5c1a16c83a8ac9.zip |
runtime/pprof: fix spelling in test
Change-Id: Id10e41fe396156106f63a4b29d673b31bea5358f
Reviewed-on: https://go-review.googlesource.com/34551
Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r-- | src/runtime/pprof/pprof_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/pprof/pprof_test.go b/src/runtime/pprof/pprof_test.go index 2a242a151e..8372283589 100644 --- a/src/runtime/pprof/pprof_test.go +++ b/src/runtime/pprof/pprof_test.go @@ -207,7 +207,7 @@ func profileOk(t *testing.T, need []string, prof bytes.Buffer, duration time.Dur // We used to always require at least ideal/4 samples, // but that is too hard to guarantee on a loaded system. // Now we accept 10 or more samples, which we take to be - // enough to show that at least some profiling is ocurring. + // enough to show that at least some profiling is occurring. if ideal := uintptr(duration * 100 / time.Second); samples == 0 || (samples < ideal/4 && samples < 10) { t.Logf("too few samples; got %d, want at least %d, ideally %d", samples, ideal/4, ideal) ok = false |