Skip to content

Commit

Permalink
Re-format after ktlint upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
martinvisser committed Mar 4, 2024
1 parent f9ae968 commit 4709e47
Showing 1 changed file with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ class AutoCompleteCommandTest {
commandLine = CommandLine(command)
commandLine.out = PrintWriter(output)

mockedRepositories()
mockedPullRequests()
}

private fun mockedRepositories() {
allMockedRepositories =
listOf(
Repository("admin-service", "refs/heads/master"),
Expand All @@ -75,6 +80,9 @@ class AutoCompleteCommandTest {
Branch("refs/heads/feature/def", "feature/def"),
),
)
}

private fun mockedPullRequests() {
allMockedPullRequests =
listOf(
PullRequest(
Expand All @@ -89,10 +97,17 @@ class AutoCompleteCommandTest {
Repository("generic-project", "refs/heads/master"),
listOf(Reviewer("[email protected]")),
),
PullRequest("1241", "NOJIRA: ahum", Repository("ret-engineering-tools", "refs/heads/master"), listOf()),
PullRequest(
"1271", "NOJIRA: MANKS",
Repository("ret-engineering-tools", "refs/heads/master"), listOf(),
"1241",
"NOJIRA: ahum",
Repository("ret-engineering-tools", "refs/heads/master"),
listOf(),
),
PullRequest(
"1271",
"NOJIRA: MANKS",
Repository("ret-engineering-tools", "refs/heads/master"),
listOf(),
),
PullRequest("1272", "update admin-service", Repository("test", "refs/heads/master"), listOf()),
)
Expand Down

0 comments on commit 4709e47

Please sign in to comment.