mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Group the GitHub issue body limit constant with an underscore
The GITHUB_MAX_ISSUE_BODY_SIZE constant added with the description truncation is a five-digit literal, above detekt's acceptableLength of 4, so :features:rageshake:impl:detekt failed. Write it as 65_536, matching MAX_LOG_LINES_SIZE in RageshakeConfig.
This commit is contained in:
+1
-1
@@ -597,7 +597,7 @@ class DefaultBugReporterTest : RobolectricTest() {
|
|||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
private const val EXPECTED_NUMBER_OF_PROGRESS_VALUE = 18
|
private const val EXPECTED_NUMBER_OF_PROGRESS_VALUE = 18
|
||||||
private const val GITHUB_MAX_ISSUE_BODY_SIZE = 65536
|
private const val GITHUB_MAX_ISSUE_BODY_SIZE = 65_536
|
||||||
private const val TRUNCATION_MARKER_MAX_SIZE = 200
|
private const val TRUNCATION_MARKER_MAX_SIZE = 200
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user