aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2017-09-11 12:49:12 +0300
committerPeter Melnichenko <mpeterval@gmail.com>2017-09-11 12:49:54 +0300
commit8b2dfe0b6861c3cea22078f78f6c3d9cc6cd733f (patch)
tree1446f097422332c2694eef154430c77a3f630cc8 /test
parentcaa4ad24a33650448e35e44bc1d06101593e7bac (diff)
downloadluarocks-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.lua2
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
287local function download_rocks(urls, save_path) 287local 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