Skip to content

Commit 7155294

Browse files
committed
Make commit message in test repo more informative and less scary
1 parent 0920519 commit 7155294

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

git_sizer_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func newGitBomb(
110110
"author Example <[email protected]> 1112911993 -0700\n"+
111111
"committer Example <[email protected]> 1112911993 -0700\n"+
112112
"\n"+
113-
"Mwahahaha!\n",
113+
"Test git bomb\n",
114114
oid,
115115
)
116116
return err
@@ -152,8 +152,8 @@ func TestBomb(t *testing.T) {
152152
}
153153

154154
assert.Equal(counts.Count32(1), h.UniqueCommitCount, "unique commit count")
155-
assert.Equal(counts.Count64(169), h.UniqueCommitSize, "unique commit size")
156-
assert.Equal(counts.Count32(169), h.MaxCommitSize, "max commit size")
155+
assert.Equal(counts.Count64(172), h.UniqueCommitSize, "unique commit size")
156+
assert.Equal(counts.Count32(172), h.MaxCommitSize, "max commit size")
157157
assert.Equal("refs/heads/master", h.MaxCommitSizeCommit.Path(), "max commit size commit")
158158
assert.Equal(counts.Count32(1), h.MaxHistoryDepth, "max history depth")
159159
assert.Equal(counts.Count32(0), h.MaxParentCount, "max parent count")

0 commit comments

Comments
 (0)