Skip to content

Commit

Permalink
fix test names
Browse files Browse the repository at this point in the history
  • Loading branch information
walteh committed Nov 18, 2023
1 parent 7a27ded commit c59de76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions calculate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func TestNewCalculationAndCalculateNewTags(t *testing.T) {
},
},
{
name: "version 2 bug",
name: "when merging a branch that already is tagged correctly, don't do anything",
calculation: &simver.Calculation{
ForcePatch: false,
IsMerge: true,
Expand All @@ -212,7 +212,7 @@ func TestNewCalculationAndCalculateNewTags(t *testing.T) {
},
},
{
name: "when merging a branch that already is tagged correctly, don't do anything ()",
name: "when merging a branch that already is tagged correctly, don't do anything (ignoring force patch)",
calculation: &simver.Calculation{
ForcePatch: true,
IsMerge: true,
Expand Down
2 changes: 1 addition & 1 deletion execution_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ func TestNewTags(t *testing.T) {
},
},
{
name: "version 2 bug",
name: "when merging a branch that already is tagged correctly, don't do anything",
baseBranchTags: simver.Tags{
simver.Tag{Name: "v0.2.0-pr1+1"},
simver.Tag{Name: "v0.2.0"},
Expand Down

0 comments on commit c59de76

Please sign in to comment.