(t *testing.T)
| 27 | } |
| 28 | |
| 29 | func TestNodeAddrOptionSetPortOnly(t *testing.T) { |
| 30 | opt := NewListenAddrOption() |
| 31 | assert.NilError(t, opt.Set(":4545")) |
| 32 | assert.Check(t, is.Equal("0.0.0.0:4545", opt.Value())) |
| 33 | } |
| 34 | |
| 35 | func TestNodeAddrOptionSetInvalidFormat(t *testing.T) { |
| 36 | opt := NewListenAddrOption() |
nothing calls this directly
no test coverage detected
searching dependent graphs…