From 686151a7f9eb8c430edb8a01d8f75d915d8460b2 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Mon, 10 Nov 2014 00:08:32 +0100 Subject: Remove useless assertion in test --- tests/src/cgeo/geocaching/SettingsTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/src') 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 * 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() { -- cgit v1.1