Skip to content

Commit 8a5aab4

Browse files
committed
Merge branch '2.12'
2 parents 26f898a + a94802b commit 8a5aab4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ion/src/test/java/com/fasterxml/jackson/dataformat/ion/ionvalue/IonValueMapperTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class IonValueMapperTest {
4444
private final IonSystem ionSystem = IonSystemBuilder.standard().build();
4545
private final IonFactory ionF = IonFactory.builderForTextualWriters().ionSystem(ionSystem).build();
4646
private final IonObjectMapper ionValueMapper = IonObjectMapper.builder(ionF)
47-
.propertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE)
47+
.propertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE)
4848
.build();
4949

5050
enum ReturnCode {
@@ -181,8 +181,8 @@ public void testPojo3WithOpenContent() throws Exception {
181181
@Test
182182
public void testPojo4WithSexpInArrayIgnored() throws Exception {
183183
IonObjectMapper mapper = IonObjectMapper.builder(ionF)
184+
.propertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE)
184185
.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES)
185-
.propertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE)
186186
.build();
187187
String value = "{value:[([])], number:\"Random\"}";
188188
TestPojo4 test = mapper.readValue(ionSystem.singleValue(value), TestPojo4.class);
@@ -194,8 +194,8 @@ public void testPojo4WithSexpInArrayIgnored() throws Exception {
194194
@Test
195195
public void testPojo5WithSexpInArray() throws Exception {
196196
IonObjectMapper mapper = IonObjectMapper.builder(ionF)
197+
.propertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE)
197198
.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES)
198-
.propertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE)
199199
.build();
200200

201201
String value = "{value:[([blah])], number:\"Random\"}";

0 commit comments

Comments
 (0)