style(test): satisfy ktlint in new folder-label tests

Body expression on the signature line (function-signature) and one
argument per wrapped line (argument-list-wrapping) in the tests added
for drawer folder de-duplication.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-01 15:15:24 -05:00
co-authored by Claude Opus 4.8
parent 0f479b2431
commit e20981d083
2 changed files with 15 additions and 11 deletions
@@ -133,8 +133,13 @@ class LibreMailDatabaseTest {
"acct",
listOf(
FolderEntity(
"acct", "[Gmail]/Sent Mail", "Sent Mail", "SENT",
selectable = true, sortOrder = 1, specialUse = true,
accountId = "acct",
fullName = "[Gmail]/Sent Mail",
displayName = "Sent Mail",
role = "SENT",
selectable = true,
sortOrder = 1,
specialUse = true,
),
FolderEntity("acct", "INBOX", "INBOX", "INBOX", selectable = true, sortOrder = 0),
),
@@ -19,15 +19,14 @@ class FolderLabelsTest {
specialUse: Boolean = false,
) = Folder("acct", fullName, displayName, role, selectable = true, specialUse = specialUse)
private fun account(email: String, imapHost: String, authType: AuthType = AuthType.PASSWORD_IMAP) =
Account(
id = "acct",
email = email,
displayName = email,
authType = authType,
imap = ServerConfig(imapHost, 993, MailSecurity.SSL_TLS),
smtp = ServerConfig("smtp", 587, MailSecurity.STARTTLS),
)
private fun account(email: String, imapHost: String, authType: AuthType = AuthType.PASSWORD_IMAP) = Account(
id = "acct",
email = email,
displayName = email,
authType = authType,
imap = ServerConfig(imapHost, 993, MailSecurity.SSL_TLS),
smtp = ServerConfig("smtp", 587, MailSecurity.STARTTLS),
)
/** Builds base labels the way the drawer does: the friendly role name, else the raw display name. */
private fun baseLabelsOf(folders: List<Folder>, friendly: Map<FolderRole, String>) =