浏览代码

pkg/testutil: add blankline between two functions

caoming 7 年之前
父节点
当前提交
8f383852e2
共有 1 个文件被更改,包括 2 次插入0 次删除
  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.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()