Skip to content

Commit 1b7bb33

Browse files
committed
Fix commit messages used in test
1 parent 38371e9 commit 1b7bb33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git_sizer_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ func TestSubmodule(t *testing.T) {
287287
addFile(t, submPath, submRepo, "submfile2.txt", "Hello again, submodule!\n")
288288
addFile(t, submPath, submRepo, "submfile3.txt", "Hello again, submodule!\n")
289289

290-
cmd = gitCommand(t, submRepo, "commit", "-m", "main initial")
290+
cmd = gitCommand(t, submRepo, "commit", "-m", "subm initial")
291291
addAuthorInfo(cmd, &timestamp)
292292
require.NoError(t, cmd.Run(), "creating subm commit")
293293

@@ -298,7 +298,7 @@ func TestSubmodule(t *testing.T) {
298298
require.NoError(t, err, "initializing main Repository object")
299299
addFile(t, mainPath, mainRepo, "mainfile.txt", "Hello, main!\n")
300300

301-
cmd = gitCommand(t, mainRepo, "commit", "-m", "subm initial")
301+
cmd = gitCommand(t, mainRepo, "commit", "-m", "main initial")
302302
addAuthorInfo(cmd, &timestamp)
303303
require.NoError(t, cmd.Run(), "creating main commit")
304304

0 commit comments

Comments
 (0)