Browse Source

the equals operator is '==', not '='

pull/28/head
Jochen Berger 11 years ago
parent
commit
d37f53e7e2
  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