Skip to content

Commit 2e5c29f

Browse files
committed
Fix formatting
1 parent 9a9101a commit 2e5c29f

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

cmd/cactus-cli/cert_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ func TestCoveringLandmark(t *testing.T) {
4949
// extra older line 0→0 so landmark 1's lower bound is known.
5050
desc := []landmarkEntry{{3, 120}, {2, 80}, {1, 40}, {0, 0}}
5151
cases := []struct {
52-
index uint64
52+
index uint64
5353
wantNum, wantSz, wantPrev uint64
54-
wantOK bool
54+
wantOK bool
5555
}{
56-
{0, 1, 40, 0, true}, // first entry of landmark 1
57-
{39, 1, 40, 0, true}, // last entry of landmark 1
58-
{40, 2, 80, 40, true}, // first entry of landmark 2
56+
{0, 1, 40, 0, true}, // first entry of landmark 1
57+
{39, 1, 40, 0, true}, // last entry of landmark 1
58+
{40, 2, 80, 40, true}, // first entry of landmark 2
5959
{119, 3, 120, 80, true}, // last entry of landmark 3
60-
{120, 0, 0, 0, false}, // past the newest landmark
61-
{500, 0, 0, 0, false}, // well past
60+
{120, 0, 0, 0, false}, // past the newest landmark
61+
{500, 0, 0, 0, false}, // well past
6262
}
6363
for _, c := range cases {
6464
num, sz, prev, ok := coveringLandmark(desc, c.index)

0 commit comments

Comments
 (0)