We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67a5cb7 commit 92d44f4Copy full SHA for 92d44f4
src/test/java/tools/jackson/databind/node/ArrayNodeTest.java
@@ -36,13 +36,15 @@ public void testDirectCreation() throws Exception
36
37
assertStandardEquals(n);
38
assertFalse(n.elements().hasNext());
39
+ assertEquals(0, n.elementsSpliterator().estimateSize());
40
assertFalse(n.propertyNames().hasNext());
41
+ assertEquals(0, n.propertyNamesSpliterator().estimateSize());
42
assertTrue(n.isEmpty());
43
TextNode text = TextNode.valueOf("x");
44
n.add(text);
45
assertEquals(1, n.size());
46
assertFalse(n.isEmpty());
- assertFalse(0 == n.hashCode());
47
+ assertNotEquals(0, n.hashCode());
48
assertTrue(n.elements().hasNext());
49
// no field names for arrays
50
0 commit comments