Skip to content
Snippets Groups Projects

feat(var): make count of listed vars configurable

Merged Sebastian Gumprich requested to merge gitlab-community/cli:feat/var_ls_p into main
All threads resolved!
@@ -25,8 +25,8 @@ func Test_NewCmdList(t *testing.T) {
@@ -25,8 +25,8 @@ func Test_NewCmdList(t *testing.T) {
wants: ListOpts{
wants: ListOpts{
Group: "",
Group: "",
OutputFormat: "text",
OutputFormat: "text",
PerPage: 20,
PerPage: 20,
Page: 1,
Page: 1,
},
},
},
},
{
{
@@ -36,8 +36,8 @@ func Test_NewCmdList(t *testing.T) {
@@ -36,8 +36,8 @@ func Test_NewCmdList(t *testing.T) {
wants: ListOpts{
wants: ListOpts{
Group: "",
Group: "",
OutputFormat: "json",
OutputFormat: "json",
PerPage: 20,
PerPage: 20,
Page: 1,
Page: 1,
},
},
},
},
{
{
@@ -47,8 +47,8 @@ func Test_NewCmdList(t *testing.T) {
@@ -47,8 +47,8 @@ func Test_NewCmdList(t *testing.T) {
wants: ListOpts{
wants: ListOpts{
Group: "group/group",
Group: "group/group",
OutputFormat: "text",
OutputFormat: "text",
PerPage: 20,
PerPage: 20,
Page: 1,
Page: 1,
},
},
},
},
{
{
@@ -58,8 +58,8 @@ func Test_NewCmdList(t *testing.T) {
@@ -58,8 +58,8 @@ func Test_NewCmdList(t *testing.T) {
wants: ListOpts{
wants: ListOpts{
Group: "",
Group: "",
OutputFormat: "text",
OutputFormat: "text",
Page: 1,
Page: 1,
PerPage: 100,
PerPage: 100,
},
},
},
},
}
}
Loading