lncfg: update test cases to map port -> localhost:port
This commit is contained in:
parent
f5f68858de
commit
197b920cac
@ -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",
|
||||
}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user