Skip to content

Commit b261463

Browse files
committed
Spotless
1 parent e5926ea commit b261463

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

document-store/src/test/java/org/hypertrace/core/documentstore/JSONDocumentTest.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,10 @@ public void testJsonNodeConstructors() throws Exception {
124124
@Test
125125
public void testStringConstructorWithInvalidJson() {
126126
// Test invalid JSON handling
127-
Assertions.assertThrows(
128-
IOException.class,
129-
() -> new JSONDocument("invalid json {"));
127+
Assertions.assertThrows(IOException.class, () -> new JSONDocument("invalid json {"));
130128

131129
Assertions.assertThrows(
132-
IOException.class,
133-
() -> new JSONDocument("invalid json {", DocumentType.FLAT));
130+
IOException.class, () -> new JSONDocument("invalid json {", DocumentType.FLAT));
134131
}
135132

136133
@Test

0 commit comments

Comments
 (0)