Skip to content

Commit a4ab93b

Browse files
committed
add test for new pattern
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
1 parent da67e59 commit a4ab93b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/src/test/java/com/nextcloud/android/common/core/utils/AccountNamePatternTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,6 @@ class AccountNamePatternTest {
5858
assertTrue(pattern.matcher("abc@cloud.com@example.inst2.cloud.com").matches())
5959
assertTrue(pattern.matcher("admin@10.0.2.2:55002").matches())
6060
assertTrue(pattern.matcher("admin@10.0.2.2").matches())
61+
assertTrue(pattern.matcher("test@example.tld@cloud.example.tld:443/subfolder/deep").matches())
6162
}
6263
}

0 commit comments

Comments
 (0)