From d37f53e7e2eb7ba2c579734932ad9959a23b0512 Mon Sep 17 00:00:00 2001 From: Jochen Berger Date: Mon, 19 Aug 2013 12:22:19 +0200 Subject: [PATCH] the equals operator is '==', not '=' --- .../src/test/java/com/jayway/jsonassert/JsonAssertTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json-path-assert/src/test/java/com/jayway/jsonassert/JsonAssertTest.java b/json-path-assert/src/test/java/com/jayway/jsonassert/JsonAssertTest.java index 4ecff3d2..906e448f 100644 --- a/json-path-assert/src/test/java/com/jayway/jsonassert/JsonAssertTest.java +++ b/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