diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2016-10-26 14:36:51 -0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-26 14:36:51 -0200 |
| commit | 716d54d72f562efe944478496e217695c44dc90f (patch) | |
| tree | 2b43342b41a08e99255d5ec1295e9369a49f362b /spec/show_spec.lua | |
| parent | 478fc5517c686c080797f840cc000cc9828ffcb4 (diff) | |
| parent | 6a72d843a7bb3dc9f5e133f9a9d614af46f92daa (diff) | |
| download | luarocks-716d54d72f562efe944478496e217695c44dc90f.tar.gz luarocks-716d54d72f562efe944478496e217695c44dc90f.tar.bz2 luarocks-716d54d72f562efe944478496e217695c44dc90f.zip | |
Merge pull request #635 from mpeterv/rock-name-case
Make rock name arguments case insensitive
Diffstat (limited to 'spec/show_spec.lua')
| -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 b2cdc07e..d07fdc31 100644 --- a/spec/show_spec.lua +++ b/spec/show_spec.lua | |||
| @@ -22,6 +22,11 @@ describe("LuaRocks show tests #blackbox #b_show", function() | |||
| 22 | local output = run.luarocks("show luacov") | 22 | local output = run.luarocks("show luacov") |
| 23 | assert.is.truthy(output:match("LuaCov")) | 23 | assert.is.truthy(output:match("LuaCov")) |
| 24 | end) | 24 | end) |
| 25 | |||
| 26 | it("LuaRocks show luacov with uppercase name", function() | ||
| 27 | local output = run.luarocks("show LuaCov") | ||
| 28 | assert.is.truthy(output:match("LuaCov")) | ||
| 29 | end) | ||
| 25 | 30 | ||
| 26 | it("LuaRocks show modules of luacov", function() | 31 | it("LuaRocks show modules of luacov", function() |
| 27 | local output = run.luarocks("show --modules luacov") | 32 | local output = run.luarocks("show --modules luacov") |
