Use new assertj 3.9.0 method
This commit is contained in:
parent
0424e93997
commit
c545eed3f3
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ public class TypeAliasTest {
|
||||||
final String value = "value";
|
final String value = "value";
|
||||||
final AnAlias anAlias = AnAlias.of(value);
|
final AnAlias anAlias = AnAlias.of(value);
|
||||||
//then
|
//then
|
||||||
assertThat(anAlias.hashCode()).isEqualTo(value.hashCode());
|
assertThat(anAlias).hasSameHashCodeAs(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in a new issue