adding test case for trailing . on the version

This commit is contained in:
Adam Brown 2022-06-01 10:44:10 +01:00
parent b3841c9006
commit 4501c7cf45
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ class HomeServerVersionTest {
val unsupportedVersions = listOf( val unsupportedVersions = listOf(
case("v-1.5.1", expected = null), case("v-1.5.1", expected = null),
case("1.4.", expected = null),
case("1.5.1.", expected = null),
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),