aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/geopoint/GeoPointFormatterTest.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-06-11 20:17:43 +0200
committerBananeweizen <bananeweizen@gmx.de>2014-06-11 20:17:43 +0200
commit1e1ecc4c9514fbb2eb6fe273968ec9b57aa8f614 (patch)
treecab6a91076bb42aac6f037b24ea789939e3e1bb5 /tests/src/cgeo/geocaching/geopoint/GeoPointFormatterTest.java
parente9283b50b4d3e15dffefe8a9b9eda7de5b7999e5 (diff)
downloadcgeo-1e1ecc4c9514fbb2eb6fe273968ec9b57aa8f614.zip
cgeo-1e1ecc4c9514fbb2eb6fe273968ec9b57aa8f614.tar.gz
cgeo-1e1ecc4c9514fbb2eb6fe273968ec9b57aa8f614.tar.bz2
refactoring: more assertj instead of junit assert
Diffstat (limited to 'tests/src/cgeo/geocaching/geopoint/GeoPointFormatterTest.java')
-rw-r--r--tests/src/cgeo/geocaching/geopoint/GeoPointFormatterTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/geopoint/GeoPointFormatterTest.java b/tests/src/cgeo/geocaching/geopoint/GeoPointFormatterTest.java
index 4b25247..4392705 100644
--- a/tests/src/cgeo/geocaching/geopoint/GeoPointFormatterTest.java
+++ b/tests/src/cgeo/geocaching/geopoint/GeoPointFormatterTest.java
@@ -12,7 +12,7 @@ public class GeoPointFormatterTest extends AndroidTestCase {
// From issue #2624: coordinate is wrong near to a confluence point
final Geopoint point = new Geopoint(49.9999999999999, 5.0);
final String format = GeopointFormatter.format(GeopointFormatter.Format.LAT_LON_DECDEGREE_COMMA, point);
- assertEquals("50.000000,5.000000", format);
+ assertThat(format).isEqualTo("50.000000,5.000000");
final String formatMinute = GeopointFormatter.format(GeopointFormatter.Format.LAT_LON_DECMINUTE_RAW, point);
assertThat(formatMinute).isEqualTo("N 50° 00.000 E 005° 00.000");
final String formatSecond = GeopointFormatter.format(GeopointFormatter.Format.LAT_LON_DECSECOND, point).replaceAll(",", ".");