Skip to content

Commit c18add3

Browse files
committed
Fix more test names
1 parent 8b8e306 commit c18add3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cmd/sort_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/stretchr/testify/assert"
1111
)
1212

13-
func TestSort_RunSortSimple(t *testing.T) {
13+
func TestSortRunSortSimple(t *testing.T) {
1414
args := []string{"1.0.0", "2.0.0", "1.0.1"}
1515
expected := "1.0.0 1.0.1 2.0.0"
1616

@@ -34,7 +34,7 @@ func TestSort_RunSortSimple(t *testing.T) {
3434
assert.Equal(t, expected, strings.TrimSuffix(buf.String(), "\n"))
3535
}
3636

37-
func TestSort_RunSortDescending(t *testing.T) {
37+
func TestSortRunSortDescending(t *testing.T) {
3838
args := []string{"1.0.0", "2.0.0", "1.0.1"}
3939
expected := "2.0.0 1.0.1 1.0.0"
4040

@@ -61,7 +61,7 @@ func TestSort_RunSortDescending(t *testing.T) {
6161
assert.Equal(t, expected, strings.TrimSuffix(buf.String(), "\n"))
6262
}
6363

64-
func TestSort_RunSortNoPrerelease(t *testing.T) {
64+
func TestSortRunSortNoPrerelease(t *testing.T) {
6565
args := []string{"1.0.0", "2.0.0", "1.0.1-alpha.1"}
6666
expected := "1.0.0 2.0.0"
6767

@@ -88,7 +88,7 @@ func TestSort_RunSortNoPrerelease(t *testing.T) {
8888
assert.Equal(t, expected, strings.TrimSuffix(buf.String(), "\n"))
8989
}
9090

91-
// func TestSort_RunSortInvalidTag(t *testing.T) {
91+
// func TestSortRunSortInvalidTag(t *testing.T) {
9292
// args := []string{"1.0.0", "2.0.0", "1.0.1-alpha.1", "invalid-tag"}
9393
// expected := "invalid semver version: invalid-tag"
9494

0 commit comments

Comments
 (0)