mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-25 12:32:31 +01:00
Update ktlint to 0.44.0
This commit is contained in:
parent
ae2ba5771f
commit
678edb1846
@ -193,7 +193,7 @@ dependencies {
|
||||
|
||||
/** Checkstyle **/
|
||||
checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}"
|
||||
ktlint 'com.pinterest:ktlint:0.43.2'
|
||||
ktlint 'com.pinterest:ktlint:0.44.0'
|
||||
|
||||
/** Kotlin **/
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlin_version}"
|
||||
|
@ -452,8 +452,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
|
||||
}.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(
|
||||
{
|
||||
subscriptionEntity ->
|
||||
{ subscriptionEntity ->
|
||||
handleFeedNotAvailable(
|
||||
subscriptionEntity,
|
||||
t.cause,
|
||||
|
@ -19,7 +19,8 @@ class UrlFinderTest {
|
||||
|Dapibus ultrices in iaculis nunc sed augue lacus viverra. Nisl purus in mollis nunc.
|
||||
|Viverra nibh cras pulvinar mattis. ####!@!@!@!#### Not this one: https://www.youtube.com/playlist?list=SHOULD_NOT Nunc sed blandit libero volutpat.
|
||||
|Nisl tincidunt eget nullam non nisi est sit amet. Purus in massa tempor nec feugiat nisl pretium fusce id.
|
||||
|Vulputate eu scelerisque felis imperdiet proin fermentum leo vel.""".trimMargin()
|
||||
|Vulputate eu scelerisque felis imperdiet proin fermentum leo vel.
|
||||
""".trimMargin()
|
||||
)
|
||||
|
||||
assertEquals(expected, result)
|
||||
@ -35,7 +36,8 @@ class UrlFinderTest {
|
||||
|Dapibus ultrices in iaculis nunc sed augue lacus viverra. Nisl purus in mollis nunc.
|
||||
|Viverra nibh cras pulvinar mattis. Not this one: sed blandit libero volutpat.
|
||||
|Nisl tincidunt eget nullam non nisi est sit amet. Purus in massa tempor nec feugiat nisl pretium fusce id.
|
||||
|Vulputate eu scelerisque felis imperdiet proin fermentum leo vel.""".trimMargin()
|
||||
|Vulputate eu scelerisque felis imperdiet proin fermentum leo vel.
|
||||
""".trimMargin()
|
||||
)
|
||||
|
||||
assertEquals(null, result)
|
||||
|
Loading…
Reference in New Issue
Block a user