Software /
code /
prosody
Comparison
spec/util_async_spec.lua @ 10541:6c6ff4509082
tests: Silence [luacheck] warnings
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 23 Dec 2019 21:33:10 +0100 |
parent | 8683:867ac771fb6e |
child | 11961:542a9a503073 |
comparison
equal
deleted
inserted
replaced
10540:375d31225d53 | 10541:6c6ff4509082 |
---|---|
542 assert.equal(r1.state, "ready"); | 542 assert.equal(r1.state, "ready"); |
543 | 543 |
544 assert.equal(r1.state, "ready"); | 544 assert.equal(r1.state, "ready"); |
545 end); | 545 end); |
546 | 546 |
547 -- luacheck: ignore 211/rf | |
548 -- FIXME what's rf? | |
547 it("should support multiple done() calls", function () | 549 it("should support multiple done() calls", function () |
548 local processed_item; | 550 local processed_item; |
549 local wait, done; | 551 local wait, done; |
550 local r, rf = new(function (item) | 552 local r, rf = new(function (item) |
551 wait, done = async.waiter(4); | 553 wait, done = async.waiter(4); |