Skip to content

Commit

Permalink
fix testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Jan 11, 2025
1 parent 3d1cb1d commit b25d78d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/test/java/com/alibaba/fastjson2/JSONFactoryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public void contextJSONPathCompiler() {
@Test
public void test1() {
JSONFactory.setUseJacksonAnnotation(false);
JSONFactory.setUseGsonAnnotation(false);
assertFalse(JSONFactory.isUseGsonAnnotation());
assertFalse(JSONFactory.isUseJacksonAnnotation());
JSONFactory.setUseJacksonAnnotation(true);
JSONFactory.setUseGsonAnnotation(true);
Expand Down

0 comments on commit b25d78d

Please sign in to comment.