From 8f383852e214257df64636ff17e3fd13aca85b3c Mon Sep 17 00:00:00 2001 From: caoming Date: Fri, 4 Jan 2019 09:44:57 +0800 Subject: [PATCH] pkg/testutil: add blankline between two functions --- pkg/testutil/recorder.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/testutil/recorder.go b/pkg/testutil/recorder.go index bdbbd8cc5..3722f9de1 100644 --- a/pkg/testutil/recorder.go +++ b/pkg/testutil/recorder.go @@ -49,6 +49,7 @@ func (r *RecorderBuffered) Record(a Action) { r.actions = append(r.actions, a) r.Unlock() } + func (r *RecorderBuffered) Action() []Action { r.Lock() cpy := make([]Action, len(r.actions)) @@ -56,6 +57,7 @@ func (r *RecorderBuffered) Action() []Action { r.Unlock() return cpy } + func (r *RecorderBuffered) Wait(n int) (acts []Action, err error) { // legacy racey behavior WaitSchedule()