Skip to content

Commit 5507704

Browse files
fix: fix integration tests
1 parent 960916e commit 5507704

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/git/git.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ func (g *GitVersioning) pushTags() error {
399399
func (g *GitVersioning) cloneRepoToDirectory() (*git.Repository, error) {
400400
defer g.printElapsedTime("CloneRepoToDirectory")()
401401

402-
g.log.Info(colorYellow+"cloning current repository "+colorCyan+" %s "+colorYellow+" into "+colorCyan+"%s"+colorReset, g.destinationDirectory)
402+
g.log.Info(colorYellow+"cloning current repository to "+colorCyan+" %s "+colorReset, g.destinationDirectory)
403403
opts := &git.CloneOptions{
404404
Progress: os.Stdout,
405405
URL: g.url,

src/git/git_integration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func TestNewGitCommitGetChangeMessageNoError(t *testing.T) {
101101
tests.AssertNoError(t, err)
102102

103103
message := repo.GetChangeMessage()
104-
tests.AssertEqualValues(t, "feat: Added requirements.txt file.", message)
104+
tests.AssertEqualValues(t, "type: [feat]\r\nmessage: Added requirements.txt file.", message)
105105
f.cleanLocalRepo(t)
106106
}
107107

0 commit comments

Comments
 (0)