mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
adding trailing commas to lists
This commit is contained in:
parent
4501c7cf45
commit
3756b2d240
@ -27,7 +27,7 @@ class HomeServerVersionTest {
|
||||
case("1.5", expected = aVersion(1, 5, 0)),
|
||||
case("0.5.1", expected = aVersion(0, 5, 1)),
|
||||
case("1.0.0", expected = aVersion(1, 0, 0)),
|
||||
case("1.10.3", expected = aVersion(1, 10, 3))
|
||||
case("1.10.3", expected = aVersion(1, 10, 3)),
|
||||
).withPrefixes("v", "r")
|
||||
|
||||
val unsupportedVersions = listOf(
|
||||
@ -37,7 +37,7 @@ class HomeServerVersionTest {
|
||||
case("r1", expected = null),
|
||||
case("a", expected = null),
|
||||
case("1a.2b.3c", expected = null),
|
||||
case("r", expected = null)
|
||||
case("r", expected = null),
|
||||
)
|
||||
|
||||
(supportedVersions + unsupportedVersions).forEach { (input, expected) ->
|
||||
|
Loading…
Reference in New Issue
Block a user