aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-03-19 16:25:02 +0000
committerMatthew Wild <mwild1@gmail.com>2018-03-19 16:25:02 +0000
commitf172b0b10d891067fc8007b423c5740dd4396c3c (patch)
treea9a8c283c770465412bf10548068b274993c382a /spec
parent3f856fe19948ac570216a1a07b3f41f89cafadfd (diff)
downloadprosody-f172b0b10d891067fc8007b423c5740dd4396c3c.tar.gz
prosody-f172b0b10d891067fc8007b423c5740dd4396c3c.zip
util.async: tests: remove obsolete code and comments
Diffstat (limited to 'spec')
-rw-r--r--spec/util_async_spec.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/util_async_spec.lua b/spec/util_async_spec.lua
index 7bad0b6d..8f7dd1d4 100644
--- a/spec/util_async_spec.lua
+++ b/spec/util_async_spec.lua
@@ -323,7 +323,6 @@ describe("util.async", function()
r:run(2);
assert(r.state == "ready");
- local dones = {};
r:run(3);
assert(r.state == "waiting");
r:run(3);
@@ -362,7 +361,6 @@ describe("util.async", function()
r:run(2);
assert(r.state == "ready");
- local dones = {};
r:run(3);
assert(r.state == "waiting");
r:run(3);
@@ -414,7 +412,6 @@ describe("util.async", function()
r1:run(2);
assert(r1.state == "ready");
- local dones = {};
r1:run(3);
assert(r1.state == "waiting");
r1:run(3);
@@ -492,7 +489,6 @@ describe("util.async", function()
r1:run(5);
assert.equal(r1.state, "ready");
- local dones = {};
r1:run(3);
assert.equal(r1.state, "waiting");
r1:run(5); -- Will error, when we get to it
@@ -537,7 +533,6 @@ describe("util.async", function()
assert.equal(r1.state, "ready");
assert.equal(r1.state, "ready");
- --for k, v in ipairs(l1) do print(k,v) end
end);
it("should support multiple done() calls", function ()