File tree Expand file tree Collapse file tree
src/test/java/com/meilisearch/integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212import com .meilisearch .sdk .exceptions .MeilisearchException ;
1313import com .meilisearch .sdk .model .*;
1414import com .meilisearch .sdk .utils .Movie ;
15-
1615import java .lang .reflect .InaccessibleObjectException ;
1716import java .lang .reflect .Modifier ;
1817import org .junit .jupiter .api .*;
@@ -322,7 +321,8 @@ public void testTransientFieldExclusion() throws MeilisearchException {
322321 Gson gsonWithTransient =
323322 new GsonBuilder ().excludeFieldsWithModifiers (Modifier .STATIC ).create ();
324323
325- Assertions .assertThrows (InaccessibleObjectException .class , () -> gsonWithTransient .toJson (test ));
324+ Assertions .assertThrows (
325+ InaccessibleObjectException .class , () -> gsonWithTransient .toJson (test ));
326326 Assertions .assertDoesNotThrow (() -> gson .toJson (test ));
327327 }
328328}
You can’t perform that action at this time.
0 commit comments