Browse Source

Removed test for issue 7 which is in conflict with new behavior

pull/27/head
Jack Singleton 11 years ago
parent
commit
7e4e04d739
  1. 12
      json-path/src/test/java/com/jayway/jsonpath/IssuesTest.java

12
json-path/src/test/java/com/jayway/jsonpath/IssuesTest.java

@ -15,18 +15,6 @@ import static junit.framework.Assert.assertTrue;
* Time: 8:42 AM
*/
public class IssuesTest {
@Test
public void issue_7() throws Exception {
String json = "{ \"foo\" : [\n" +
" { \"id\": 1 }, \n" +
" { \"id\": 2 }, \n" +
" { \"id\": 3 }\n" +
" ] }";
assertNull(JsonPath.read(json, "$.foo.id"));
}
@Test
public void issue_11() throws Exception {

Loading…
Cancel
Save