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/external_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/external_spec.lua')
-rw-r--r-- | spec/external_spec.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/external_spec.lua b/spec/external_spec.lua index 63363b76..5a69a678 100644 --- a/spec/external_spec.lua +++ b/spec/external_spec.lua | |||
@@ -2,14 +2,13 @@ local test_env = require("spec.util.test_env") | |||
2 | local run = test_env.run | 2 | local run = test_env.run |
3 | local testing_paths = test_env.testing_paths | 3 | local testing_paths = test_env.testing_paths |
4 | 4 | ||
5 | test_env.setup_specs() | ||
6 | |||
7 | describe("luarocks external commands #integration", function() | 5 | describe("luarocks external commands #integration", function() |
8 | setup(function() | 6 | lazy_setup(function() |
7 | test_env.setup_specs() | ||
9 | test_env.mock_server_init() | 8 | test_env.mock_server_init() |
10 | end) | 9 | end) |
11 | 10 | ||
12 | teardown(function() | 11 | lazy_teardown(function() |
13 | test_env.mock_server_done() | 12 | test_env.mock_server_done() |
14 | end) | 13 | end) |
15 | 14 | ||