Skip to content

Commit

Permalink
Fix failing unit test before re-running 2.17.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Mar 12, 2024
1 parent ea20e77 commit 55d3389
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ public Wrapper() { }
@Test
public void testDeserializationAsString01_oneBased() throws Exception
{
assertEquals(Month.JANUARY, readerForOneBased().readValue("\"01\""));
assertEquals(Month.JANUARY, readerForOneBased().readValue("\"1\""));
}

@Test
public void testDeserializationAsString01_zeroBased() throws Exception
{
assertEquals(Month.FEBRUARY, readerForZeroBased().readValue("\"01\""));
assertEquals(Month.FEBRUARY, readerForZeroBased().readValue("\"1\""));
}


Expand Down Expand Up @@ -93,13 +93,13 @@ public void testDeserialization01_oneBased() throws Exception
@Test
public void testDeserialization02_zeroBased() throws Exception
{
assertEquals(Month.SEPTEMBER, readerForZeroBased().readValue("\"08\""));
assertEquals(Month.SEPTEMBER, readerForZeroBased().readValue("\"8\""));
}

@Test
public void testDeserialization02_oneBased() throws Exception
{
assertEquals(Month.AUGUST, readerForOneBased().readValue("\"08\""));
assertEquals(Month.AUGUST, readerForOneBased().readValue("\"8\""));
}

@Test
Expand Down

0 comments on commit 55d3389

Please sign in to comment.