Skip to content

Commit

Permalink
spotless fix
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Florentine <[email protected]>
  • Loading branch information
jflo committed Mar 21, 2024
1 parent fbe15c2 commit a2be002
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class Bytes32ScalarTest {
private final StringValue strValue = StringValue.newStringValue(str).build();
private final StringValue invalidStrValue = StringValue.newStringValue("0xgh").build();

private final VersionedHash versionedHash = new VersionedHash((byte)1, Hash.hash(value));
private final VersionedHash versionedHash = new VersionedHash((byte) 1, Hash.hash(value));

@Test
public void pareValueTest() {
Expand Down Expand Up @@ -127,7 +127,10 @@ public void parseLiteralErrorTest2() {

@Test
public void parseVersionedHash() {
assertThat(scalar.getCoercing().serialize(versionedHash, GraphQLContext.newContext().build(), Locale.ENGLISH))
assertThat(
scalar
.getCoercing()
.serialize(versionedHash, GraphQLContext.newContext().build(), Locale.ENGLISH))
.isEqualTo(versionedHash.toString());
}

Expand Down

0 comments on commit a2be002

Please sign in to comment.