fixed linting
This commit is contained in:
parent
795213319e
commit
5cea8aa74d
1 changed files with 6 additions and 6 deletions
|
|
@ -34,7 +34,7 @@ func Test_NewCmdList(t *testing.T) {
|
|||
LimitResults: 30,
|
||||
ExcludeDrafts: false,
|
||||
ExcludePreReleases: false,
|
||||
Order: "desc",
|
||||
Order: "desc",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -44,7 +44,7 @@ func Test_NewCmdList(t *testing.T) {
|
|||
LimitResults: 30,
|
||||
ExcludeDrafts: true,
|
||||
ExcludePreReleases: false,
|
||||
Order: "desc",
|
||||
Order: "desc",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -54,17 +54,17 @@ func Test_NewCmdList(t *testing.T) {
|
|||
LimitResults: 30,
|
||||
ExcludeDrafts: false,
|
||||
ExcludePreReleases: true,
|
||||
Order: "desc",
|
||||
Order: "desc",
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "with order",
|
||||
args: "--order asc",
|
||||
want: ListOptions{
|
||||
LimitResults: 30,
|
||||
ExcludeDrafts: false,
|
||||
LimitResults: 30,
|
||||
ExcludeDrafts: false,
|
||||
ExcludePreReleases: false,
|
||||
Order: "asc",
|
||||
Order: "asc",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue