# HG changeset patch # User Kim Alvefur # Date 1520423487 -3600 # Node ID fd41dc4a78e9fce5c05195bbd254aeaeb23a92b6 # Parent 50f2ad08858936f831cd7b86a84b716bb279dbb0 util_pubsub_spec: Move util.pubsub import into a setup block diff -r 50f2ad088589 -r fd41dc4a78e9 spec/util_pubsub_spec.lua --- a/spec/util_pubsub_spec.lua Tue Mar 06 19:11:23 2018 +0100 +++ b/spec/util_pubsub_spec.lua Wed Mar 07 12:51:27 2018 +0100 @@ -1,4 +1,8 @@ -local pubsub = require "util.pubsub"; +local pubsub; +setup(function () + pubsub = require "util.pubsub"; +end); + describe("util.pubsub", function () describe("simple node creation and deletion", function () -- Roughly a port of scansion/scripts/pubsub_createdelete.scs