Skip to content

Commit 8f3df74

Browse files
authored
test: fix junit5 migration conflict IndexSpecTest (#19326)
1 parent ec9fda0 commit 8f3df74

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

processing/src/test/java/org/apache/druid/segment/IndexSpecTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ public void testSerdeWithStringColumnFormatSpec() throws Exception
7777
final String json = "{ \"stringColumnFormatSpec\" : { \"maxStringLength\" : 50 } }";
7878

7979
final IndexSpec spec = objectMapper.readValue(json, IndexSpec.class);
80-
Assert.assertNotNull(spec.getStringColumnFormatSpec());
81-
Assert.assertEquals(Integer.valueOf(50), spec.getStringColumnFormatSpec().getMaxStringLength());
80+
Assertions.assertNotNull(spec.getStringColumnFormatSpec());
81+
Assertions.assertEquals(Integer.valueOf(50), spec.getStringColumnFormatSpec().getMaxStringLength());
8282

83-
Assert.assertEquals(spec, objectMapper.readValue(objectMapper.writeValueAsBytes(spec), IndexSpec.class));
83+
Assertions.assertEquals(spec, objectMapper.readValue(objectMapper.writeValueAsBytes(spec), IndexSpec.class));
8484
}
8585

8686
@Test

0 commit comments

Comments
 (0)