mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-10-04 10:06:53 -04:00
Make ktlint happy
For the record: I strongly find the trailing && and ||
less readable than the leading version.
But if that's what the Kotlin folks want 🤷.
This commit is contained in:
1 parent
841b50a222
commit
e963aeaece
2 files changed
+14
-14
No files matched your search
@@ -359,7 +359,8 @@ internal class RepoAdderTest {
|
||||
every { repoDao.getRepository(any<String>()) } returns existingRepo
|
||||
|
||||
val expectedFetchResult =
|
||||
if (existingRepo.address == url) FetchResult.IsExistingRepository else FetchResult.IsExistingMirror
|
||||
if (existingRepo.address == url) FetchResult.IsExistingRepository
|
||||
else FetchResult.IsExistingMirror
|
||||
|
||||
expectMinRepoPreview(repoName, expectedFetchResult, canAdd = false) {
|
||||
repoAdder.fetchRepository(url = downloadUrl, proxy = null)
|
||||
|
||||
Reference in new issue
Block a user