Browse Source

pkg/testutil: add blankline between two functions

caoming 7 năm trước cách đây
mục cha
commit
8f383852e2
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      pkg/testutil/recorder.go

+ 2 - 0
pkg/testutil/recorder.go

@@ -49,6 +49,7 @@ func (r *RecorderBuffered) Record(a Action) {
 	r.actions = append(r.actions, a)
 	r.actions = append(r.actions, a)
 	r.Unlock()
 	r.Unlock()
 }
 }
+
 func (r *RecorderBuffered) Action() []Action {
 func (r *RecorderBuffered) Action() []Action {
 	r.Lock()
 	r.Lock()
 	cpy := make([]Action, len(r.actions))
 	cpy := make([]Action, len(r.actions))
@@ -56,6 +57,7 @@ func (r *RecorderBuffered) Action() []Action {
 	r.Unlock()
 	r.Unlock()
 	return cpy
 	return cpy
 }
 }
+
 func (r *RecorderBuffered) Wait(n int) (acts []Action, err error) {
 func (r *RecorderBuffered) Wait(n int) (acts []Action, err error) {
 	// legacy racey behavior
 	// legacy racey behavior
 	WaitSchedule()
 	WaitSchedule()