aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-02-21 18:05:54 +0100
committerKim Alvefur <zash@zash.se>2016-02-21 18:05:54 +0100
commit01b8d1667a22e00dad022dbaed75d9e2eacd5238 (patch)
treefc721fd0e7be741d2d28108f52d7932e3def0b20 /tests/test.lua
parent7038a99a47f39fe87c192e75afadb3bb9463aca0 (diff)
downloadprosody-01b8d1667a22e00dad022dbaed75d9e2eacd5238.tar.gz
prosody-01b8d1667a22e00dad022dbaed75d9e2eacd5238.zip
tests: Add minimal test for util.random that checks that it returns the number of bytes requested
Diffstat (limited to 'tests/test.lua')
-rw-r--r--tests/test.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test.lua b/tests/test.lua
index 4863c4e7..0fcc4907 100644
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -23,6 +23,7 @@ function run_all_tests()
dotest "util.cache"
dotest "util.throttle"
dotest "util.uuid"
+ dotest "util.random"
dosingletest("test_sasl.lua", "latin1toutf8");
dosingletest("test_utf8.lua", "valid");