From 4501c7cf45ebd37bd5fdc190a0ea5cff2bc68341 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Wed, 1 Jun 2022 10:44:10 +0100 Subject: [PATCH] adding test case for trailing . on the version --- .../android/sdk/internal/auth/version/HomeServerVersionTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/auth/version/HomeServerVersionTest.kt b/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/auth/version/HomeServerVersionTest.kt index 040918439b..e5b2935ef2 100644 --- a/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/auth/version/HomeServerVersionTest.kt +++ b/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/auth/version/HomeServerVersionTest.kt @@ -32,6 +32,8 @@ class HomeServerVersionTest { val unsupportedVersions = listOf( case("v-1.5.1", expected = null), + case("1.4.", expected = null), + case("1.5.1.", expected = null), case("r1", expected = null), case("a", expected = null), case("1a.2b.3c", expected = null),