浏览代码

Fix minor newline consistency issues in test files (#87)

Nick Miyake 9 年之前
父节点
当前提交
839d9e913e
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 1 0
      bench_test.go
  2. 0 1
      errors_test.go

+ 1 - 0
bench_test.go

@@ -15,6 +15,7 @@ func noErrors(at, depth int) error {
 	}
 	return noErrors(at+1, depth)
 }
+
 func yesErrors(at, depth int) error {
 	if at >= depth {
 		return New("ye error")

+ 0 - 1
errors_test.go

@@ -196,7 +196,6 @@ func TestWithMessage(t *testing.T) {
 			t.Errorf("WithMessage(%v, %q): got: %q, want %q", tt.err, tt.message, got, tt.want)
 		}
 	}
-
 }
 
 // errors.New, etc values are not expected to be compared by value