testBooleanOption is a helper function to test boolean agent options.
| 22 | |
| 23 | // testBooleanOption is a helper function to test boolean agent options. |
| 24 | type booleanOptionTest struct { |
| 25 | optionFunc func() AgentOption |
| 26 | getValue func(*Agent) bool |
| 27 | configSetter func(*AgentConfig, bool) |
| 28 | } |
| 29 | |
| 30 | func testBooleanOption(t *testing.T, test booleanOptionTest, optionName string) { |
| 31 | t.Helper() |
nothing calls this directly
no outgoing calls
no test coverage detected