(t *testing.T)
| 21 | } |
| 22 | |
| 23 | func TestNodeAddrOptionSetHostOnlyIPv6(t *testing.T) { |
| 24 | opt := NewListenAddrOption() |
| 25 | assert.NilError(t, opt.Set("::1")) |
| 26 | assert.Check(t, is.Equal("[::1]:2377", opt.Value())) |
| 27 | } |
| 28 | |
| 29 | func TestNodeAddrOptionSetPortOnly(t *testing.T) { |
| 30 | opt := NewListenAddrOption() |
nothing calls this directly
no test coverage detected
searching dependent graphs…