diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2014-11-10 00:08:32 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2014-11-10 00:08:32 +0100 |
| commit | 686151a7f9eb8c430edb8a01d8f75d915d8460b2 (patch) | |
| tree | a4020827451a69a0c2c16eb1ea88546f18b6e661 /tests/src | |
| parent | 1da89bfd0f61a67cf86d6d0a3d6de3020ad3857e (diff) | |
| download | cgeo-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.java | 4 |
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() { |
