We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 630d5ce commit 27dd646Copy full SHA for 27dd646
src/test/java/com/redislabs/modules/rejson/ClientTest.java
@@ -179,6 +179,11 @@ public void typeChecksShouldSucceed() throws Exception {
179
assertSame(float.class, client.type( "foobar", new Path(".fooF")));
180
assertSame(List.class, client.type( "foobar", new Path(".fooArr")));
181
assertSame(boolean.class, client.type( "foobar", new Path(".fooB")));
182
+
183
+ try {
184
+ client.type( "foobar", new Path(".fooErr"));
185
+ fail();
186
+ }catch(Exception e) {}
187
}
188
189
@Test(expected = Exception.class)
0 commit comments