Changed: Move UrlUtils to TermuxUrlUtils

This commit is contained in:
agnostic-apollo
2021-10-14 01:10:25 +05:00
parent f62997a60e
commit 059feaacf1
3 changed files with 7 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
package com.termux.app;
import com.termux.shared.data.UrlUtils;
import com.termux.shared.termux.data.TermuxUrlUtils;
import org.junit.Assert;
import org.junit.Test;
@@ -13,7 +13,7 @@ public class TermuxActivityTest {
private void assertUrlsAre(String text, String... urls) {
LinkedHashSet<String> expected = new LinkedHashSet<>();
Collections.addAll(expected, urls);
Assert.assertEquals(expected, UrlUtils.extractUrls(text));
Assert.assertEquals(expected, TermuxUrlUtils.extractUrls(text));
}
@Test