(t *testing.T)
| 378 | } |
| 379 | |
| 380 | func TestWithIncludeLoopback(t *testing.T) { |
| 381 | testBooleanOption(t, booleanOptionTest{ |
| 382 | optionFunc: WithIncludeLoopback, |
| 383 | getValue: func(a *Agent) bool { return a.includeLoopback }, |
| 384 | configSetter: func(c *AgentConfig, v bool) { c.IncludeLoopback = v }, |
| 385 | }, "loopback addresses") |
| 386 | } |
| 387 | |
| 388 | func TestWithTCPPriorityOffset(t *testing.T) { |
| 389 | t.Run("sets custom TCP priority offset", func(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…