Skip to content

Commit

Permalink
Add failing test for #7
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Feb 16, 2024
1 parent 6111543 commit eff22a2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package com.fasterxml.jackson.jr.failing;

import static org.junit.Assert.assertArrayEquals;

import com.fasterxml.jackson.jr.ob.JSON;
import com.fasterxml.jackson.jr.ob.TestBase;

public class ReadIntArray7Test extends TestBase
{
public void testReadIntArray() throws Exception
{
final int[] input = new int[] { 1, 2, 3 };
String json = JSON.std.asString(input);
int[] result = JSON.std.beanFrom(int[].class, json);
assertArrayEquals(input, result);
}
}
1 change: 0 additions & 1 deletion release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ No changes since 2.14

#102: Missing module-info dependency from `jackson-jr-annotation-support`
#103: Some artifacts missing `NOTICE`, `LICENSE` files
- Java/JDK baseline raised to Java 8

2.14.2 (28-Jan-2023)
2.14.1 (21-Nov-2022)
Expand Down

0 comments on commit eff22a2

Please sign in to comment.