diff options
author | Peter Melnichenko <mpeterval@gmail.com> | 2017-09-11 12:49:12 +0300 |
---|---|---|
committer | Peter Melnichenko <mpeterval@gmail.com> | 2017-09-11 12:49:54 +0300 |
commit | 8b2dfe0b6861c3cea22078f78f6c3d9cc6cd733f (patch) | |
tree | 1446f097422332c2694eef154430c77a3f630cc8 /test | |
parent | caa4ad24a33650448e35e44bc1d06101593e7bac (diff) | |
download | luarocks-8b2dfe0b6861c3cea22078f78f6c3d9cc6cd733f.tar.gz luarocks-8b2dfe0b6861c3cea22078f78f6c3d9cc6cd733f.tar.bz2 luarocks-8b2dfe0b6861c3cea22078f78f6c3d9cc6cd733f.zip |
Remove www. from rock repository URL in tests
www.luarocks.org redirects to luarocks.org.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_environment.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_environment.lua b/test/test_environment.lua index 6f6f1cfe..c781af4b 100644 --- a/test/test_environment.lua +++ b/test/test_environment.lua | |||
@@ -285,7 +285,7 @@ end | |||
285 | -- @param save_path string: path to directory, where to download rocks/rockspecs | 285 | -- @param save_path string: path to directory, where to download rocks/rockspecs |
286 | -- @return make_manifest boolean: true if new rocks downloaded | 286 | -- @return make_manifest boolean: true if new rocks downloaded |
287 | local function download_rocks(urls, save_path) | 287 | local function download_rocks(urls, save_path) |
288 | local luarocks_repo = "https://www.luarocks.org" | 288 | local luarocks_repo = "https://luarocks.org" |
289 | local make_manifest = false | 289 | local make_manifest = false |
290 | 290 | ||
291 | for _, url in ipairs(urls) do | 291 | for _, url in ipairs(urls) do |