From 197b920cac3a581929818a55fa660e88e86f7165 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 27 Jun 2018 15:04:06 -0700 Subject: [PATCH] lncfg: update test cases to map port -> localhost:port --- lncfg/address_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lncfg/address_test.go b/lncfg/address_test.go index 8453a46a..1fe4e6c2 100644 --- a/lncfg/address_test.go +++ b/lncfg/address_test.go @@ -34,12 +34,12 @@ var ( {"localhost", "tcp", "127.0.0.1:1234", true, false}, {"unix:///tmp/lnd.sock", "unix", "/tmp/lnd.sock", false, true}, {"unix:/tmp/lnd.sock", "unix", "/tmp/lnd.sock", false, true}, + {"123", "tcp", "127.0.0.1:123", true, false}, } invalidTestVectors = []string{ "some string", "://", - "12.12.12", - "123", + "12.12.12.12.12", } )