From 3c8d22bb427fc645227fa94b335b9bccb82f5bbc Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Thu, 26 Mar 2015 23:56:38 +0100 Subject: Remove test about removed constant --- tests/src/cgeo/geocaching/utils/TextUtilsTest.java | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/src/cgeo/geocaching/utils/TextUtilsTest.java b/tests/src/cgeo/geocaching/utils/TextUtilsTest.java index bc49c30..6c6b82d 100644 --- a/tests/src/cgeo/geocaching/utils/TextUtilsTest.java +++ b/tests/src/cgeo/geocaching/utils/TextUtilsTest.java @@ -14,7 +14,6 @@ public class TextUtilsTest extends AndroidTestCase { public static void testRegEx() { final String page = MockedCache.readCachePage("GC2CJPF"); assertThat(TextUtils.getMatch(page, GCConstants.PATTERN_LOGIN_NAME, true, "???")).isEqualTo(GCConstantsTest.MOCK_LOGIN_NAME); - assertThat(page.contains("id=\"ctl00_hlRenew\"") || GCConstants.MEMBER_STATUS_PREMIUM.equals(TextUtils.getMatch(page, GCConstants.PATTERN_MEMBER_STATUS, true, "???"))).isTrue(); } public static void testReplaceWhitespaces() { -- cgit v1.1