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("1.5", expected = aVersion(1, 5, 0)),
|
||||||
case("0.5.1", expected = aVersion(0, 5, 1)),
|
case("0.5.1", expected = aVersion(0, 5, 1)),
|
||||||
case("1.0.0", expected = aVersion(1, 0, 0)),
|
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")
|
).withPrefixes("v", "r")
|
||||||
|
|
||||||
val unsupportedVersions = listOf(
|
val unsupportedVersions = listOf(
|
||||||
@ -37,7 +37,7 @@ class HomeServerVersionTest {
|
|||||||
case("r1", expected = null),
|
case("r1", expected = null),
|
||||||
case("a", expected = null),
|
case("a", expected = null),
|
||||||
case("1a.2b.3c", expected = null),
|
case("1a.2b.3c", expected = null),
|
||||||
case("r", expected = null)
|
case("r", expected = null),
|
||||||
)
|
)
|
||||||
|
|
||||||
(supportedVersions + unsupportedVersions).forEach { (input, expected) ->
|
(supportedVersions + unsupportedVersions).forEach { (input, expected) ->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user