Skip to content

Commit

Permalink
cmd/mr_create_test: fix test text wrt number of commits
Browse files Browse the repository at this point in the history
The recent changes corrected the counting of number of commits, which is
now breaking the old test behavior. This patch updates it.

Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
  • Loading branch information
bmeneg committed Jun 24, 2021
1 parent fb66a37 commit c2a89b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/mr_create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func Test_mrText(t *testing.T) {
require.Contains(t, text, `
I am the default merge request template for lab
# Requesting a merge into origin:master from origin:mrtest (12 commits)
# Requesting a merge into origin:master from origin:mrtest (1 commits)
#
# Write a message for this merge request. The first block
# of text is the title and the rest is the description.
Expand All @@ -37,7 +37,7 @@ func Test_mrText_CoverLetter(t *testing.T) {
require.Contains(t, coverLetter, `
I am the default merge request template for lab
# Requesting a merge into origin:master from origin:mrtest (12 commits)
# Requesting a merge into origin:master from origin:mrtest (1 commits)
#
# Write a message for this merge request. The first block
# of text is the title and the rest is the description.
Expand Down

0 comments on commit c2a89b0

Please sign in to comment.