Skip to content

Commit

Permalink
(#28) Updated equals verifier due to jqno/equalsverifier#234
Browse files Browse the repository at this point in the history
  • Loading branch information
svettwer committed Mar 12, 2019
1 parent 917dd0f commit 8699871
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,15 +268,9 @@ public void testSetCharacterStream() throws Exception{

@Test
public void testEqualsContract(){
final StringBuilder one = new StringBuilder();
one.append("foo");
final StringBuilder two = new StringBuilder();
one.append("bar");

EqualsVerifier
.forClass(CitrusClob.class)
.withNonnullFields("stringBuilder")
.withPrefabValues(StringBuilder.class, one, two)
.verify();
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<!-- https://mvnrepository.com/artifact/com.jparams/to-string-verifier -->
<to.string.verifier.version>1.4.5</to.string.verifier.version>
<!-- https://mvnrepository.com/artifact/nl.jqno.equalsverifier/equalsverifier -->
<equals.verifier.version>3.1.4</equals.verifier.version>
<equals.verifier.version>3.1.6</equals.verifier.version>
<!-- https://mvnrepository.com/artifact/org.powermock/powermock-module-testng -->
<!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito2 -->
<powermock.version>2.0.0</powermock.version>
Expand Down

0 comments on commit 8699871

Please sign in to comment.