Merge pull request #7618 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.40.0

Bump ktlint from 0.39.0 to 0.40.0
This commit is contained in:
Andy Scherzinger 2020-12-08 09:58:57 +01:00 committed by GitHub
commit ab26acbce3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -335,7 +335,7 @@ dependencies {
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
ktlint "com.pinterest:ktlint:0.39.0"
ktlint "com.pinterest:ktlint:0.40.0"
implementation 'org.conscrypt:conscrypt-android:2.5.1'
// Shimmer animation

View file

@ -42,7 +42,7 @@ data class LogEntry(val timestamp: Date, val level: Level, val tag: String, val
*/
private val ENTRY_PARSE_REGEXP = Regex(
pattern =
"""(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z);([ADEIVW]);([^;]+);(.*)"""
"""(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z);([ADEIVW]);([^;]+);(.*)"""
)
@JvmStatic

View file

@ -93,7 +93,7 @@ class LogEntryTest {
timestamp = Date(0),
level = Level.DEBUG,
tag =
"""靖康緗素雜記""",
"""靖康緗素雜記""",
message = "夏炉冬扇"
)
assertEquals("1970-01-01T00:00:00.000Z;D;靖康緗素雜記;夏炉冬扇", entry.toString())