diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-13 12:29:15 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-13 17:11:12 -0300 |
commit | d33b56cd60d623500c88b8bd2924e6674fc22776 (patch) | |
tree | 6771492414e7ab768559d33fafd01dd654bf8a12 /spec | |
parent | 277baba01e09a1456e4aeb8afcd1f29c1d2eefbc (diff) | |
download | luarocks-d33b56cd60d623500c88b8bd2924e6674fc22776.tar.gz luarocks-d33b56cd60d623500c88b8bd2924e6674fc22776.tar.bz2 luarocks-d33b56cd60d623500c88b8bd2924e6674fc22776.zip |
Display namespaces in `luarocks show`
Diffstat (limited to 'spec')
-rw-r--r-- | spec/show_spec.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/show_spec.lua b/spec/show_spec.lua index 4880106d..a3f856fd 100644 --- a/spec/show_spec.lua +++ b/spec/show_spec.lua | |||
@@ -88,4 +88,9 @@ describe("LuaRocks show #blackbox #b_show", function() | |||
88 | assert.match("a_build_dep", run.luarocks("show has_build_dep --build-deps")) | 88 | assert.match("a_build_dep", run.luarocks("show has_build_dep --build-deps")) |
89 | end) | 89 | end) |
90 | 90 | ||
91 | it("shows #namespaces via --rock-namespace", function() | ||
92 | assert(run.luarocks_bool("build a_user/a_rock --server=" .. testing_paths.fixtures_dir .. "/a_repo" )) | ||
93 | assert.match("a_user", run.luarocks("show a_rock --rock-namespace")) | ||
94 | end) | ||
95 | |||
91 | end) | 96 | end) |