Skip to content

Commit

Permalink
mr_list: Fix test
Browse files Browse the repository at this point in the history
The test for milestone support creates and closes a MR on origin,
with the result that the test case for closed MRs ended up being
pushed off the list, given that only a limited number is shown
by default.

List all closed MRs to make it appear in the listing again.
  • Loading branch information
fmuellner authored and prarit committed Jan 21, 2021
1 parent 8c6eec1 commit 4241954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/mr_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func Test_mrListStateMerged(t *testing.T) {
func Test_mrListStateClosed(t *testing.T) {
t.Parallel()
repo := copyTestRepo(t)
cmd := exec.Command(labBinaryPath, "mr", "list", "-s", "closed")
cmd := exec.Command(labBinaryPath, "mr", "list", "-a", "-s", "closed")
cmd.Dir = repo

b, err := cmd.CombinedOutput()
Expand Down

0 comments on commit 4241954

Please sign in to comment.