lncfg: update test cases to map port -> localhost:port

This commit is contained in:
Olaoluwa Osuntokun 2018-06-27 15:04:06 -07:00 committed by Wilmer Paulino
parent f5f68858de
commit 197b920cac
No known key found for this signature in database
GPG Key ID: 6DF57B9F9514972F

@ -34,12 +34,12 @@ var (
{"localhost", "tcp", "127.0.0.1:1234", true, false}, {"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},
{"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{ invalidTestVectors = []string{
"some string", "some string",
"://", "://",
"12.12.12", "12.12.12.12.12",
"123",
} }
) )