Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Commit 839d9e9

Browse files
nmiyakedavecheney
authored andcommitted
Fix minor newline consistency issues in test files (#87)
1 parent 645ef00 commit 839d9e9

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

bench_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ func noErrors(at, depth int) error {
1515
}
1616
return noErrors(at+1, depth)
1717
}
18+
1819
func yesErrors(at, depth int) error {
1920
if at >= depth {
2021
return New("ye error")

errors_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ func TestWithMessage(t *testing.T) {
196196
t.Errorf("WithMessage(%v, %q): got: %q, want %q", tt.err, tt.message, got, tt.want)
197197
}
198198
}
199-
200199
}
201200

202201
// errors.New, etc values are not expected to be compared by value

0 commit comments

Comments
 (0)