We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2728e27 commit f2badfaCopy full SHA for f2badfa
src/test/java/com/redislabs/modules/rejson/ClientTest.java
@@ -191,13 +191,9 @@ public void delValidShouldSucceed() throws Exception {
191
}
192
193
@Test
194
- public void delException() throws Exception {
195
- Exception ex = assertThrows(JedisDataException.class, () -> {
196
- client.set( "foobar", new FooBarObject(), Path.ROOT_PATH);
197
- client.del( "foobar", new Path(".foo[1]")).longValue();
198
- });
199
-
200
- assertTrue(ex.getMessage().contains("ERR invalid index '[1]' at level 1 in path"));
+ public void delNonExistingPathsAreIgnored() throws Exception {
+ client.set( "foobar", new FooBarObject(), Path.ROOT_PATH);
+ client.del( "foobar", new Path(".foo[1]")).longValue();
201
202
203
0 commit comments