From c545eed3f3f982580d092cc4bd1f33fbcacfbd40 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 20 Jan 2018 12:29:02 +0000 Subject: [PATCH] Use new assertj 3.9.0 method --- src/test/java/net/kemitix/mon/TypeAliasTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/net/kemitix/mon/TypeAliasTest.java b/src/test/java/net/kemitix/mon/TypeAliasTest.java index 08a5448..10497bf 100644 --- a/src/test/java/net/kemitix/mon/TypeAliasTest.java +++ b/src/test/java/net/kemitix/mon/TypeAliasTest.java @@ -92,7 +92,7 @@ public class TypeAliasTest { final String value = "value"; final AnAlias anAlias = AnAlias.of(value); //then - assertThat(anAlias.hashCode()).isEqualTo(value.hashCode()); + assertThat(anAlias).hasSameHashCodeAs(value); } @Test