Software /
code /
prosody
Comparison
tests/test_util_uuid.lua @ 7512:7a655ff689b1
test_util_uuid: remove unused one-letter loop variable [luacheck]
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 23 Jul 2016 18:21:35 +0800 |
parent | 7073:31fa6770019c |
comparison
equal
deleted
inserted
replaced
7511:ef6505962351 | 7512:7a655ff689b1 |
---|---|
11 string.rep("%x", 3), | 11 string.rep("%x", 3), |
12 string.rep("%x", 12), | 12 string.rep("%x", 12), |
13 }, "%-") .. "$"; | 13 }, "%-") .. "$"; |
14 | 14 |
15 function generate(generate) | 15 function generate(generate) |
16 for i = 1, 100 do | 16 for _ = 1, 100 do |
17 assert_is(generate():match(pattern)); | 17 assert_is(generate():match(pattern)); |
18 end | 18 end |
19 end | 19 end |
20 | 20 |
21 function seed(seed) | 21 function seed(seed) |