aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/GCConstantsTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/cgeo/geocaching/GCConstantsTest.java')
-rw-r--r--tests/src/cgeo/geocaching/GCConstantsTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/GCConstantsTest.java b/tests/src/cgeo/geocaching/GCConstantsTest.java
index e2e5420..8267e42 100644
--- a/tests/src/cgeo/geocaching/GCConstantsTest.java
+++ b/tests/src/cgeo/geocaching/GCConstantsTest.java
@@ -29,6 +29,6 @@ public class GCConstantsTest extends AndroidTestCase {
}
private static void assertCacheCount(final int count, final String html) {
- assertEquals(count, Integer.parseInt(BaseUtils.getMatch(html, GCConstants.PATTERN_CACHES_FOUND, true, "0").replaceAll("[,\\.]", "")));
+ assertEquals(count, Integer.parseInt(BaseUtils.getMatch(html, GCConstants.PATTERN_CACHES_FOUND, true, "0").replaceAll("[,.]", "")));
}
}