diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2020-02-14 09:53:12 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2020-02-14 09:53:12 -0300 |
commit | bd27d052eaf856bf24c77f556a50b7e19f11cba1 (patch) | |
tree | 9812779fea52afea7dbbf15a21620d3c59102476 /spec/search_spec.lua | |
parent | ab0d7b2a266ff7f322af93915472f5d80d4be9af (diff) | |
download | luarocks-bd27d052eaf856bf24c77f556a50b7e19f11cba1.tar.gz luarocks-bd27d052eaf856bf24c77f556a50b7e19f11cba1.tar.bz2 luarocks-bd27d052eaf856bf24c77f556a50b7e19f11cba1.zip |
tests: shorter descriptions
Diffstat (limited to 'spec/search_spec.lua')
-rw-r--r-- | spec/search_spec.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/search_spec.lua b/spec/search_spec.lua index 90efb552..1b5d79fa 100644 --- a/spec/search_spec.lua +++ b/spec/search_spec.lua | |||
@@ -7,29 +7,29 @@ local extra_rocks = { | |||
7 | "/lzlib-0.4.1.53-1.src.rock" | 7 | "/lzlib-0.4.1.53-1.src.rock" |
8 | } | 8 | } |
9 | 9 | ||
10 | describe("LuaRocks search tests #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) |
15 | 15 | ||
16 | it("LuaRocks search with no flags/arguments", function() | 16 | it("with no flags/arguments", function() |
17 | assert.is_false(run.luarocks_bool("search")) | 17 | assert.is_false(run.luarocks_bool("search")) |
18 | end) | 18 | end) |
19 | 19 | ||
20 | it("LuaRocks search 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("LuaRocks search 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("LuaRocks search 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("LuaRocks search 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) |
35 | end) | 35 | end) |