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.
2 parents c7cfd85 + 1e75235 commit a0f5c80Copy full SHA for a0f5c80
properties/src/test/java/com/fasterxml/jackson/dataformat/javaprop/SimpleStreamingTest.java
@@ -38,6 +38,14 @@ public void testParsing() throws Exception
38
p.close();
39
assertTrue(p.isClosed());
40
41
+ // and then some other accessors
42
+ p = MAPPER.createParser("foo = bar");
43
+ assertToken(JsonToken.START_OBJECT, p.nextToken());
44
+ assertEquals("foo", p.nextFieldName());
45
+ assertEquals("bar", p.nextTextValue());
46
+ assertNull(p.nextFieldName());
47
+ p.close();
48
+
49
// one more thing, verify handling of non-binary
50
p = MAPPER.createParser("foo = bar");
51
assertToken(JsonToken.START_OBJECT, p.nextToken());
0 commit comments