Skip to content
Snippets Groups Projects
Commit 29cc27ce authored by Sulverus's avatar Sulverus
Browse files

localhost replace removed from app/net.box.test.lua

parent 060fa392
No related branches found
No related tags found
No related merge requests found
......@@ -20,10 +20,7 @@ test:is(
)
-- check that net.box is correct without box.cfg{}
local uri, _ = string.gsub(
inspector:eval('second', 'box.cfg.listen').result[1],
'localhost', '127.0.0.1'
)
local uri = inspector:eval('second', 'box.cfg.listen').result[1]
local conn = net_box:new(uri)
test:is(conn:is_connected(), true, 'connected to instance')
test:is(conn.space ~= nil, true, 'space exists')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment