From 29cc27ce339ae9a3cbecca22613643d24efab3c9 Mon Sep 17 00:00:00 2001
From: Sulverus <sulverus@gmail.com>
Date: Fri, 15 Jan 2016 12:49:18 +0300
Subject: [PATCH] localhost replace removed from app/net.box.test.lua

---
 test/app/net.box.test.lua | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/test/app/net.box.test.lua b/test/app/net.box.test.lua
index 73f09ffe9f..fa0d93f5ee 100755
--- a/test/app/net.box.test.lua
+++ b/test/app/net.box.test.lua
@@ -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')
-- 
GitLab