Browse Source

Added invalid path check.

pull/183/merge
Kalle Stenflo 9 years ago
parent
commit
4a17ae5c93
  1. 1
      json-path/src/test/java/com/jayway/jsonpath/FilterCompilerTest.java

1
json-path/src/test/java/com/jayway/jsonpath/FilterCompilerTest.java

@ -53,6 +53,7 @@ public class FilterCompilerTest {
assertInvalidPathException("[?(@ || )]");
assertInvalidPathException("[?(@ == 'foo )]");
assertInvalidPathException("[?(@ == 1' )]");
assertInvalidPathException("[?(@.foo bar == 1)]");
}

Loading…
Cancel
Save