aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2014-11-10 00:08:32 +0100
committerSamuel Tardieu <sam@rfc1149.net>2014-11-10 00:08:32 +0100
commit686151a7f9eb8c430edb8a01d8f75d915d8460b2 (patch)
treea4020827451a69a0c2c16eb1ea88546f18b6e661 /tests/src
parent1da89bfd0f61a67cf86d6d0a3d6de3020ad3857e (diff)
downloadcgeo-686151a7f9eb8c430edb8a01d8f75d915d8460b2.zip
cgeo-686151a7f9eb8c430edb8a01d8f75d915d8460b2.tar.gz
cgeo-686151a7f9eb8c430edb8a01d8f75d915d8460b2.tar.bz2
Remove useless assertion in test
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/cgeo/geocaching/SettingsTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/src/cgeo/geocaching/SettingsTest.java b/tests/src/cgeo/geocaching/SettingsTest.java
index 4c342b3..b722292 100644
--- a/tests/src/cgeo/geocaching/SettingsTest.java
+++ b/tests/src/cgeo/geocaching/SettingsTest.java
@@ -21,10 +21,8 @@ public class SettingsTest extends ActivityInstrumentationTestCase2<MainActivity>
* this should work fine without an exception (once there was an exception because of the empty map file string)
*/
public static void testSettingsException() {
- final String mapFile = Settings.getMapFile();
// We just want to ensure that it does not throw any exception but we do not know anything about the result
- MapsforgeMapProvider.isValidMapFile(mapFile);
- assertThat(true).isTrue();
+ MapsforgeMapProvider.isValidMapFile(Settings.getMapFile());
}
public static void testSettings() {