We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5926ea commit b261463Copy full SHA for b261463
1 file changed
document-store/src/test/java/org/hypertrace/core/documentstore/JSONDocumentTest.java
@@ -124,13 +124,10 @@ public void testJsonNodeConstructors() throws Exception {
124
@Test
125
public void testStringConstructorWithInvalidJson() {
126
// Test invalid JSON handling
127
- Assertions.assertThrows(
128
- IOException.class,
129
- () -> new JSONDocument("invalid json {"));
+ Assertions.assertThrows(IOException.class, () -> new JSONDocument("invalid json {"));
130
131
Assertions.assertThrows(
132
133
- () -> new JSONDocument("invalid json {", DocumentType.FLAT));
+ IOException.class, () -> new JSONDocument("invalid json {", DocumentType.FLAT));
134
}
135
136
0 commit comments