Update ktlint to 1.5.0.

This commit is contained in:
jeffrey-signal
2025-12-05 09:48:22 -06:00
committed by GitHub
parent cc381513ef
commit 109fc7f1fa
24 changed files with 1254 additions and 385 deletions

View File

@@ -171,9 +171,8 @@ class EmojiJsonParserTest {
private fun uriFactory(sprite: String, format: String) = Uri.parse("file:///$sprite")
private fun EmojiPageModel.isSameAs(other: EmojiPageModel) =
this.javaClass == other.javaClass &&
this.emoji == other.emoji &&
this.iconAttr == other.iconAttr &&
this.spriteUri == other.spriteUri
private fun EmojiPageModel.isSameAs(other: EmojiPageModel) = this.javaClass == other.javaClass &&
this.emoji == other.emoji &&
this.iconAttr == other.iconAttr &&
this.spriteUri == other.spriteUri
}

View File

@@ -14,6 +14,5 @@ class GiphyMp4PlaybackControllerRangeComparatorTest {
Assert.assertArrayEquals(expected, sorted)
}
private fun createComparator(start: Int, end: Int): GiphyMp4PlaybackController.RangeComparator =
GiphyMp4PlaybackController.RangeComparator(start, end)
private fun createComparator(start: Int, end: Int): GiphyMp4PlaybackController.RangeComparator = GiphyMp4PlaybackController.RangeComparator(start, end)
}