Software /
code /
prosody
Comparison
spec/util_uuid_spec.lua @ 8241:e7496cff1215
util.random: Remove obsolete noop seed function
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 16 Sep 2017 17:22:51 +0200 |
parent | 8236:4878e4159e12 |
child | 12604:bd9e006a7a74 |
comparison
equal
deleted
inserted
replaced
8240:c803624cae3d | 8241:e7496cff1215 |
---|---|
20 for _ = 1, 100 do | 20 for _ = 1, 100 do |
21 assert.is_string(uuid.generate():match(pattern)); | 21 assert.is_string(uuid.generate():match(pattern)); |
22 end | 22 end |
23 end); | 23 end); |
24 end); | 24 end); |
25 | |
26 describe("#seed()", function() | |
27 it("should return nothing", function() | |
28 assert.is_nil(uuid.seed("random string here"), "seed doesn't return anything"); | |
29 end); | |
30 end); | |
31 end); | 25 end); |