Add tests for URL fragment

This commit is contained in:
Daniel Lublin 2020-03-12 18:00:37 +01:00 committed by Fredrik Fornwall
parent 366a61f052
commit 1819087ca0
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ public class TermuxActivityTest {
assertUrlsAre("hello http://example.com world and http://more.example.com with secure https://more.example.com",
"http://example.com", "http://more.example.com", "https://more.example.com");
assertUrlsAre("hello https://example.com/#bar https://example.com/foo#bar",
"https://example.com/#bar", "https://example.com/foo#bar");
}
}