mirror of
https://github.com/mollyim/mollyim-android.git
synced 2025-05-12 21:30:39 +01:00
Fix DatabaseConsistencyCheck SQL normalizer.
This commit is contained in:
parent
e5e74967dc
commit
b65610f060
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ class DatabaseConsistencyTest {
|
|||
.map { it.trim() }
|
||||
.joinToString(separator = " ")
|
||||
.replace(Regex.fromLiteral(" ,"), ",")
|
||||
.replace(",([^\\s])".toRegex(), ", $1")
|
||||
.replace(Regex("\\s+"), " ")
|
||||
.replace(Regex.fromLiteral("( "), "(")
|
||||
.replace(Regex.fromLiteral(" )"), ")")
|
||||
|
|
Loading…
Reference in a new issue