diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2015-03-26 23:56:38 +0100 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2015-03-26 23:56:38 +0100 |
commit | 3c8d22bb427fc645227fa94b335b9bccb82f5bbc (patch) | |
tree | e3b13652e92d18851f4aa8d3bb72515c6c857094 /tests | |
parent | fb8a006a8717706209244a9fd07aa6283887aa10 (diff) | |
download | cgeo-3c8d22bb427fc645227fa94b335b9bccb82f5bbc.zip cgeo-3c8d22bb427fc645227fa94b335b9bccb82f5bbc.tar.gz cgeo-3c8d22bb427fc645227fa94b335b9bccb82f5bbc.tar.bz2 |
Remove test about removed constant
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/cgeo/geocaching/utils/TextUtilsTest.java | 1 |
1 files changed, 0 insertions, 1 deletions
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() { |