diff --git a/plugins/luarocks/README.md b/plugins/luarocks/README.md index 902aae23..12385fc1 100644 --- a/plugins/luarocks/README.md +++ b/plugins/luarocks/README.md @@ -19,7 +19,7 @@ function `require`. Example: ``` $ luarocks install luasocket -$ lua -e 'http = require "socket.http"; print(http.request("https://mxe.cc/"))' +$ lua -e 'http = require "socket.http"; print(http.request("http://example.org/"))' .... ``` diff --git a/plugins/luarocks/test.lua b/plugins/luarocks/test.lua index acb3d805..eadb077f 100644 --- a/plugins/luarocks/test.lua +++ b/plugins/luarocks/test.lua @@ -2,7 +2,7 @@ local lpeg = require 'lpeg' assert(((lpeg.R('AZ'))^1):match("TEXT") == 5) local http = require "socket.http" -assert(http.request("https://mxe.cc/"):match('MXE')) +assert(http.request("http://example.org/"):match('Example')) local ll = require 'llthreads2' local thread = ll.new("return 123")