(t *testing.T)
| 15 | } |
| 16 | |
| 17 | func TestNodeAddrOptionSetHostOnly(t *testing.T) { |
| 18 | opt := NewListenAddrOption() |
| 19 | assert.NilError(t, opt.Set("newhost")) |
| 20 | assert.Check(t, is.Equal("newhost:2377", opt.Value())) |
| 21 | } |
| 22 | |
| 23 | func TestNodeAddrOptionSetHostOnlyIPv6(t *testing.T) { |
| 24 | opt := NewListenAddrOption() |
nothing calls this directly
no test coverage detected
searching dependent graphs…