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/init_spec.lua | |
| parent | ab0d7b2a266ff7f322af93915472f5d80d4be9af (diff) | |
| download | luarocks-bd27d052eaf856bf24c77f556a50b7e19f11cba1.tar.gz luarocks-bd27d052eaf856bf24c77f556a50b7e19f11cba1.tar.bz2 luarocks-bd27d052eaf856bf24c77f556a50b7e19f11cba1.zip | |
tests: shorter descriptions
Diffstat (limited to 'spec/init_spec.lua')
| -rw-r--r-- | spec/init_spec.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/init_spec.lua b/spec/init_spec.lua index d8a8e899..4a9c9ab7 100644 --- a/spec/init_spec.lua +++ b/spec/init_spec.lua | |||
| @@ -8,13 +8,13 @@ local lfs = require("lfs") | |||
| 8 | 8 | ||
| 9 | test_env.unload_luarocks() | 9 | test_env.unload_luarocks() |
| 10 | 10 | ||
| 11 | describe("Luarocks init test #integration", function() | 11 | describe("luarocks init #integration", function() |
| 12 | 12 | ||
| 13 | setup(function() | 13 | setup(function() |
| 14 | test_env.setup_specs() | 14 | test_env.setup_specs() |
| 15 | end) | 15 | end) |
| 16 | 16 | ||
| 17 | it("LuaRocks init with no arguments", function() | 17 | it("with no arguments", function() |
| 18 | test_env.run_in_tmp(function(tmpdir) | 18 | test_env.run_in_tmp(function(tmpdir) |
| 19 | local myproject = tmpdir .. "/myproject" | 19 | local myproject = tmpdir .. "/myproject" |
| 20 | lfs.mkdir(myproject) | 20 | lfs.mkdir(myproject) |
| @@ -75,7 +75,7 @@ describe("Luarocks init test #integration", function() | |||
| 75 | end, finally) | 75 | end, finally) |
| 76 | end) | 76 | end) |
| 77 | 77 | ||
| 78 | it("LuaRocks init with given arguments", function() | 78 | it("with given arguments", function() |
| 79 | test_env.run_in_tmp(function(tmpdir) | 79 | test_env.run_in_tmp(function(tmpdir) |
| 80 | local myproject = tmpdir .. "/myproject" | 80 | local myproject = tmpdir .. "/myproject" |
| 81 | lfs.mkdir(myproject) | 81 | lfs.mkdir(myproject) |
| @@ -86,7 +86,7 @@ describe("Luarocks init test #integration", function() | |||
| 86 | end, finally) | 86 | end, finally) |
| 87 | end) | 87 | end) |
| 88 | 88 | ||
| 89 | it("LuaRocks init with --lua-versions", function() | 89 | it("with --lua-versions", function() |
| 90 | test_env.run_in_tmp(function(tmpdir) | 90 | test_env.run_in_tmp(function(tmpdir) |
| 91 | local myproject = tmpdir .. "/myproject" | 91 | local myproject = tmpdir .. "/myproject" |
| 92 | lfs.mkdir(myproject) | 92 | lfs.mkdir(myproject) |
| @@ -102,7 +102,7 @@ describe("Luarocks init test #integration", function() | |||
| 102 | end, finally) | 102 | end, finally) |
| 103 | end) | 103 | end) |
| 104 | 104 | ||
| 105 | it("LuaRocks init in a git repo", function() | 105 | it("in a git repo", function() |
| 106 | test_env.run_in_tmp(function(tmpdir) | 106 | test_env.run_in_tmp(function(tmpdir) |
| 107 | local myproject = tmpdir .. "/myproject" | 107 | local myproject = tmpdir .. "/myproject" |
| 108 | copy_dir(testing_paths.fixtures_dir .. "/git_repo", myproject) | 108 | copy_dir(testing_paths.fixtures_dir .. "/git_repo", myproject) |
| @@ -123,7 +123,7 @@ describe("Luarocks init test #integration", function() | |||
| 123 | end, finally) | 123 | end, finally) |
| 124 | end) | 124 | end) |
| 125 | 125 | ||
| 126 | it("LuaRocks init does not autodetect config or dependencies as modules of the package", function() | 126 | it("does not autodetect config or dependencies as modules of the package", function() |
| 127 | test_env.run_in_tmp(function(tmpdir) | 127 | test_env.run_in_tmp(function(tmpdir) |
| 128 | local myproject = tmpdir .. "/myproject" | 128 | local myproject = tmpdir .. "/myproject" |
| 129 | lfs.mkdir(myproject) | 129 | lfs.mkdir(myproject) |
