Browse Source

Merge pull request #28 from jochenberger/fix-operator-in-test

the equals operator is '==', not '='
pull/25/merge
kallestenflo 11 years ago
parent
commit
2861c50aa0
  1. 2
      json-path-assert/src/test/java/com/jayway/jsonassert/JsonAssertTest.java

2
json-path-assert/src/test/java/com/jayway/jsonassert/JsonAssertTest.java

@ -127,7 +127,7 @@ public class JsonAssertTest {
@Test
public void an_empty_collection() throws Exception {
with(JSON).assertThat("$.store.book[?(@.category = 'x')]", emptyCollection());
with(JSON).assertThat("$.store.book[?(@.category == 'x')]", emptyCollection());
}
@Test

Loading…
Cancel
Save