aboutsummaryrefslogtreecommitdiff
path: root/spec/lint_spec.lua
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2016-07-08 14:30:00 +0300
committerPeter Melnichenko <mpeterval@gmail.com>2016-07-08 14:43:19 +0300
commit8867f3324d97584ed24f3a1082144e9b1375d663 (patch)
tree6d2ac6859128b94e02c7e9fb247cc505ab62d6c4 /spec/lint_spec.lua
parent20a1baba59e7555b3140e0c2226948447fe8e62a (diff)
downloadluarocks-8867f3324d97584ed24f3a1082144e9b1375d663.tar.gz
luarocks-8867f3324d97584ed24f3a1082144e9b1375d663.tar.bz2
luarocks-8867f3324d97584ed24f3a1082144e9b1375d663.zip
Make env vars, paths and run commands available on test env load
Diffstat (limited to 'spec/lint_spec.lua')
-rw-r--r--spec/lint_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lint_spec.lua b/spec/lint_spec.lua
index ce753618..f7496037 100644
--- a/spec/lint_spec.lua
+++ b/spec/lint_spec.lua
@@ -1,4 +1,6 @@
1local test_env = require("test/test_environment") 1local test_env = require("test/test_environment")
2local run = test_env.run
3local testing_paths = test_env.testing_paths
2 4
3test_env.unload_luarocks() 5test_env.unload_luarocks()
4 6
@@ -10,8 +12,6 @@ describe("LuaRocks lint tests #blackbox #b_lint", function()
10 12
11 before_each(function() 13 before_each(function()
12 test_env.setup_specs(extra_rocks) 14 test_env.setup_specs(extra_rocks)
13 testing_paths = test_env.testing_paths
14 run = test_env.run
15 end) 15 end)
16 16
17 it("LuaRocks lint with no flags/arguments", function() 17 it("LuaRocks lint with no flags/arguments", function()