diff options
author | roboo <robo.karasek@gmail.com> | 2016-07-19 22:56:28 +0200 |
---|---|---|
committer | roboo <robo.karasek@gmail.com> | 2016-07-19 22:56:28 +0200 |
commit | 3945f90b0bd80024294b048a793bae526cad30e2 (patch) | |
tree | c7658afc65573b60db6f94e0f4c9cbcb6fada343 /spec/write_rockspec_spec.lua | |
parent | 2af8f114097b2e79d7f92f9b0cea4cacdc2ff853 (diff) | |
download | luarocks-3945f90b0bd80024294b048a793bae526cad30e2.tar.gz luarocks-3945f90b0bd80024294b048a793bae526cad30e2.tar.bz2 luarocks-3945f90b0bd80024294b048a793bae526cad30e2.zip |
Test improvements
Diffstat (limited to 'spec/write_rockspec_spec.lua')
-rw-r--r-- | spec/write_rockspec_spec.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/write_rockspec_spec.lua b/spec/write_rockspec_spec.lua index 85e345d5..531d11eb 100644 --- a/spec/write_rockspec_spec.lua +++ b/spec/write_rockspec_spec.lua | |||
@@ -64,8 +64,7 @@ describe("LuaRocks write_rockspec tests #blackbox #b_write_rockspec", function() | |||
64 | end) | 64 | end) |
65 | 65 | ||
66 | it("LuaRocks write_rockspec git luafcgi with many flags", function() | 66 | it("LuaRocks write_rockspec git luafcgi with many flags", function() |
67 | assert.is_true(run.luarocks_bool("write_rockspec git://github.com/mbalmer/luafcgi --lib=fcgi --license=\"3-clause BSD\" " | 67 | assert.is_true(run.luarocks_bool("write_rockspec git://github.com/mbalmer/luafcgi --lib=fcgi --license=\"3-clause BSD\" " .. "--lua-version=5.1,5.2")) |
68 | .. "--lua-version=5.1,5.2")) | ||
69 | assert.is.truthy(lfs.attributes("luafcgi-scm-1.rockspec")) -- TODO maybe read it content and find arguments from flags? | 68 | assert.is.truthy(lfs.attributes("luafcgi-scm-1.rockspec")) -- TODO maybe read it content and find arguments from flags? |
70 | assert.is_true(os.remove("luafcgi-scm-1.rockspec")) | 69 | assert.is_true(os.remove("luafcgi-scm-1.rockspec")) |
71 | end) | 70 | end) |