Annotate

spec/util_poll_spec.lua @ 11669:bca75f34d374

mod_s2s: Drop level of indentation by inverting a condition and early return Nicer to get rid of a conditional that covers such a large portion of a pretty big function.
author Kim Alvefur <zash@zash.se>
date Sun, 11 Jul 2021 12:37:51 +0200
parent 9316:4aa522b9e1c4
child 12400:728d1c1dc7db
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9316
4aa522b9e1c4 util.poll: Test that it loads after being compiled
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 describe("util.poll", function ()
4aa522b9e1c4 util.poll: Test that it loads after being compiled
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 it("loads", function ()
4aa522b9e1c4 util.poll: Test that it loads after being compiled
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 require "util.poll"
4aa522b9e1c4 util.poll: Test that it loads after being compiled
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 end);
4aa522b9e1c4 util.poll: Test that it loads after being compiled
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 end);
4aa522b9e1c4 util.poll: Test that it loads after being compiled
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6