diff options
Diffstat (limited to 'spec/search_spec.lua')
-rw-r--r-- | spec/search_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/search_spec.lua b/spec/search_spec.lua index 1b5d79fa..bb6adf3e 100644 --- a/spec/search_spec.lua +++ b/spec/search_spec.lua | |||
@@ -8,7 +8,7 @@ local extra_rocks = { | |||
8 | } | 8 | } |
9 | 9 | ||
10 | describe("luarocks search #integration", function() | 10 | describe("luarocks search #integration", function() |
11 | 11 | ||
12 | before_each(function() | 12 | before_each(function() |
13 | test_env.setup_specs(extra_rocks) | 13 | test_env.setup_specs(extra_rocks) |
14 | end) | 14 | end) |
@@ -20,15 +20,15 @@ describe("luarocks search #integration", function() | |||
20 | it("zlib", function() | 20 | it("zlib", function() |
21 | assert.is_true(run.luarocks_bool("search zlib")) | 21 | assert.is_true(run.luarocks_bool("search zlib")) |
22 | end) | 22 | end) |
23 | 23 | ||
24 | it("zlib 1.1", function() | 24 | it("zlib 1.1", function() |
25 | assert.is_true(run.luarocks_bool("search zlib 1.1")) | 25 | assert.is_true(run.luarocks_bool("search zlib 1.1")) |
26 | end) | 26 | end) |
27 | 27 | ||
28 | it("missing rock", function() | 28 | it("missing rock", function() |
29 | assert.is_true(run.luarocks_bool("search missing_rock")) | 29 | assert.is_true(run.luarocks_bool("search missing_rock")) |
30 | end) | 30 | end) |
31 | 31 | ||
32 | it("with flag all", function() | 32 | it("with flag all", function() |
33 | assert.is_true(run.luarocks_bool("search --all")) | 33 | assert.is_true(run.luarocks_bool("search --all")) |
34 | end) | 34 | end) |