diff --git a/app/src/test/java/com/termux/app/api/file/FileReceiverActivityTest.java b/app/src/test/java/com/termux/app/api/file/FileReceiverActivityTest.java index 1107671daf..7965255b73 100644 --- a/app/src/test/java/com/termux/app/api/file/FileReceiverActivityTest.java +++ b/app/src/test/java/com/termux/app/api/file/FileReceiverActivityTest.java @@ -26,6 +26,8 @@ public void testIsSharedTextAnUrl() { List invalidUrls = new ArrayList<>(); invalidUrls.add("a test with example.com"); + invalidUrls.add(""); + invalidUrls.add(null); for (String url : invalidUrls) { Assert.assertFalse(FileReceiverActivity.isSharedTextAnUrl(url)); }