Skip to content

Commit 0328925

Browse files
authored
fixed error message for tensor set (#61)
1 parent 4e0637e commit 0328925

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/redislabs/redisai/RedisAITest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void testSetTensorNegative() {
8686
Assert.fail("Should throw JedisDataException");
8787
} catch (RedisAIException e) {
8888
Assert.assertEquals(
89-
"redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'AI.TENSORSET' command",
89+
"redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of values was given in 'AI.TENSORSET' command",
9090
e.getMessage());
9191
}
9292

@@ -96,7 +96,7 @@ public void testSetTensorNegative() {
9696
Assert.fail("Should throw JedisDataException");
9797
} catch (RedisAIException e) {
9898
Assert.assertEquals(
99-
"redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'AI.TENSORSET' command",
99+
"redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of values was given in 'AI.TENSORSET' command",
100100
e.getMessage());
101101
}
102102
}

0 commit comments

Comments
 (0)