From 19ce8a62a8ac32f9af9aa7255d3f9fa097eed676 Mon Sep 17 00:00:00 2001 From: mpeterv Date: Fri, 26 Jun 2015 14:47:19 +0300 Subject: Add a test for '--rockspec-format' option --- test/testing.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'test/testing.lua') diff --git a/test/testing.lua b/test/testing.lua index 44c6f098..48d4ac0e 100644 --- a/test/testing.lua +++ b/test/testing.lua @@ -400,6 +400,7 @@ local tests = { end, test_write_rockspec = function() return run "$luarocks write_rockspec git://github.com/keplerproject/luarocks" end, test_write_rockspec_lib = function() return run '$luarocks write_rockspec git://github.com/mbalmer/luafcgi --lib=fcgi --license="3-clause BSD" --lua-version=5.1,5.2' end, + test_write_rockspec_format = function() return run '$luarocks write_rockspec git://github.com/keplerproject/luarocks --rockspec-format=1.1 --lua-version=5.1,5.2' end, test_write_rockspec_fullargs = function() return run '$luarocks write_rockspec git://github.com/keplerproject/luarocks --lua-version=5.1,5.2 --license="MIT/X11" --homepage="http://www.luarocks.org" --summary="A package manager for Lua modules"' end, fail_write_rockspec_args = function() return run "$luarocks write_rockspec invalid" end, fail_write_rockspec_args_url = function() return run "$luarocks write_rockspec http://example.com/invalid.zip" end, -- cgit v1.2.3-55-g6feb