We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6edc093 commit 2eed4beCopy full SHA for 2eed4be
1 file changed
src/test/org/json/junit/JSONPointerTest.java
@@ -115,6 +115,11 @@ public void builderTest() {
115
assertEquals("val", pointer.queryFrom(document));
116
}
117
118
+ @Test(expected = NullPointerException.class)
119
+ public void nullToken() {
120
+ JSONPointer.builder().append(null);
121
+ }
122
+
123
@Test
124
public void toStringEscaping() {
125
JSONPointer pointer = JSONPointer.builder()
0 commit comments