diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2024-02-26 18:30:31 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-02-27 13:28:33 -0300 |
commit | 03e401231972d7b4db0145a71ce74d5d18d1a901 (patch) | |
tree | 10e59cd4fe0065ec87db0699965bb5e2f0436d74 /spec/init_spec.lua | |
parent | 5b2e63e6b087bdf626dd7cef319d6ba29f5e197c (diff) | |
download | luarocks-03e401231972d7b4db0145a71ce74d5d18d1a901.tar.gz luarocks-03e401231972d7b4db0145a71ce74d5d18d1a901.tar.bz2 luarocks-03e401231972d7b4db0145a71ce74d5d18d1a901.zip |
tests: reorganize and speed up unit tests
Diffstat (limited to 'spec/init_spec.lua')
-rw-r--r-- | spec/init_spec.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/init_spec.lua b/spec/init_spec.lua index be10b5b1..88bd23a5 100644 --- a/spec/init_spec.lua +++ b/spec/init_spec.lua | |||
@@ -6,11 +6,9 @@ local is_win = test_env.TEST_TARGET_OS == "windows" | |||
6 | local write_file = test_env.write_file | 6 | local write_file = test_env.write_file |
7 | local lfs = require("lfs") | 7 | local lfs = require("lfs") |
8 | 8 | ||
9 | test_env.unload_luarocks() | ||
10 | |||
11 | describe("luarocks init #integration", function() | 9 | describe("luarocks init #integration", function() |
12 | 10 | ||
13 | setup(function() | 11 | lazy_setup(function() |
14 | test_env.setup_specs() | 12 | test_env.setup_specs() |
15 | end) | 13 | end) |
16 | 14 | ||