diff options
Diffstat (limited to 'spec/init_spec.lua')
| -rw-r--r-- | spec/init_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/init_spec.lua b/spec/init_spec.lua index 88bd23a5..6cc0dd90 100644 --- a/spec/init_spec.lua +++ b/spec/init_spec.lua | |||
| @@ -153,13 +153,13 @@ describe("luarocks init #integration", function() | |||
| 153 | lfs.mkdir(myproject) | 153 | lfs.mkdir(myproject) |
| 154 | lfs.chdir(myproject) | 154 | lfs.chdir(myproject) |
| 155 | 155 | ||
| 156 | assert(run.luarocks("init --lua-versions=5.1,5.2,5.3,5.4")) | 156 | assert(run.luarocks("init --lua-versions=5.1,5.2,5.3,5.4,5.5")) |
| 157 | local rockspec_name = myproject .. "/myproject-dev-1.rockspec" | 157 | local rockspec_name = myproject .. "/myproject-dev-1.rockspec" |
| 158 | assert.truthy(lfs.attributes(rockspec_name)) | 158 | assert.truthy(lfs.attributes(rockspec_name)) |
| 159 | local fd = assert(io.open(rockspec_name, "rb")) | 159 | local fd = assert(io.open(rockspec_name, "rb")) |
| 160 | local data = fd:read("*a") | 160 | local data = fd:read("*a") |
| 161 | fd:close() | 161 | fd:close() |
| 162 | assert.truthy(data:find("lua >= 5.1, < 5.5", 1, true)) | 162 | assert.truthy(data:find("lua >= 5.1, < 5.6", 1, true)) |
| 163 | end, finally) | 163 | end, finally) |
| 164 | end) | 164 | end) |
| 165 | 165 | ||
