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() }
|
.map { it.trim() }
|
||||||
.joinToString(separator = " ")
|
.joinToString(separator = " ")
|
||||||
.replace(Regex.fromLiteral(" ,"), ",")
|
.replace(Regex.fromLiteral(" ,"), ",")
|
||||||
|
.replace(",([^\\s])".toRegex(), ", $1")
|
||||||
.replace(Regex("\\s+"), " ")
|
.replace(Regex("\\s+"), " ")
|
||||||
.replace(Regex.fromLiteral("( "), "(")
|
.replace(Regex.fromLiteral("( "), "(")
|
||||||
.replace(Regex.fromLiteral(" )"), ")")
|
.replace(Regex.fromLiteral(" )"), ")")
|
||||||
|
|
Loading…
Add table
Reference in a new issue