mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Update ktlint to 1.5.0.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user