diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2014-11-23 17:28:29 +0100 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2014-11-23 17:28:29 +0100 |
commit | 5ee23bfe051292878b6d6acd16d0a031b555bb0b (patch) | |
tree | 06eab07a9275888f4be84f68b694b00b20165312 /tests | |
parent | 8efa850b9a18323c2b6dd420fb7652b8b164153a (diff) | |
download | cgeo-5ee23bfe051292878b6d6acd16d0a031b555bb0b.zip cgeo-5ee23bfe051292878b6d6acd16d0a031b555bb0b.tar.gz cgeo-5ee23bfe051292878b6d6acd16d0a031b555bb0b.tar.bz2 |
null violation in tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/cgeo/test/Compare.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/cgeo/test/Compare.java b/tests/src/cgeo/test/Compare.java index dbc4732..0a2fa24 100644 --- a/tests/src/cgeo/test/Compare.java +++ b/tests/src/cgeo/test/Compare.java @@ -30,7 +30,7 @@ public abstract class Compare { final Date hiddenDate = actual.getHiddenDate(); assertThat(hiddenDate).isNotNull(); assert hiddenDate != null; // silence the eclipse compiler in the next line - assertThat(hiddenDate.toString()).as(cacheStr + "hidden date").isEqualTo(expected.getHiddenDate().toString()); + assertThat(hiddenDate).as(cacheStr + " hidden date").isEqualTo(expected.getHiddenDate()); assertThat(actual.isPremiumMembersOnly()).as(cacheStr + "premium only").isEqualTo(expected.isPremiumMembersOnly()); if (all) { |