Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit 375d7b4

Browse files
apply code review
Co-authored-by: Marten Seemann <[email protected]>
1 parent add0c9a commit 375d7b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

peer/record_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ func TestSignedPeerRecordFromEnvelope(t *testing.T) {
5656
// This is pretty much guaranteed to pass on Linux no matter how we implement it, but Windows has
5757
// low clock precision. This makes sure we never get a duplicate.
5858
func TestTimestampSeq(t *testing.T) {
59-
last := uint64(0)
59+
var last uint64
6060
for i := 0; i < 1000; i++ {
6161
next := TimestampSeq()
6262
if next <= last {
63-
t.Errorf("non-increasing timestampfound: %d <= %d", next, last)
63+
t.Errorf("non-increasing timestamp found: %d <= %d", next, last)
6464
}
6565
last = next
6666
}

0 commit comments

Comments
 (0)