diff --git a/tests/redis/source/app.d b/tests/redis/source/app.d index f643dd1ed8..131257b83b 100644 --- a/tests/redis/source/app.d +++ b/tests/redis/source/app.d @@ -7,6 +7,7 @@ import vibe.core.log; import vibe.db.redis.redis; import core.time; import std.algorithm : sort, equal; +import std.exception : assertThrown; void runTest() { @@ -115,6 +116,10 @@ void runTest() logInfo("LISTEN Stopped"); assert(!sub.isListening); redis.getDatabase(0).publish("SomeChannel", "Messageeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"); + + assertThrown(redis.getDatabase(0).eval("foo!!!", null)); + assert(redis.getDatabase(0).get("test1") == ""); + logInfo("Redis Test Succeeded."); }