From 6a72d843a7bb3dc9f5e133f9a9d614af46f92daa Mon Sep 17 00:00:00 2001 From: Peter Melnichenko Date: Wed, 26 Oct 2016 16:26:53 +0300 Subject: Add two tests for uppercase rock name arguments --- spec/show_spec.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'spec/show_spec.lua') 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() local output = run.luarocks("show luacov") assert.is.truthy(output:match("LuaCov")) end) + + it("LuaRocks show luacov with uppercase name", function() + local output = run.luarocks("show LuaCov") + assert.is.truthy(output:match("LuaCov")) + end) it("LuaRocks show modules of luacov", function() local output = run.luarocks("show --modules luacov") -- cgit v1.2.3-55-g6feb