(t *testing.T)
| 484 | } |
| 485 | |
| 486 | func TestWithEnableUseCandidateCheckPriority(t *testing.T) { |
| 487 | testBooleanOption(t, booleanOptionTest{ |
| 488 | optionFunc: WithEnableUseCandidateCheckPriority, |
| 489 | getValue: func(a *Agent) bool { return a.enableUseCandidateCheckPriority }, |
| 490 | configSetter: func(c *AgentConfig, v bool) { c.EnableUseCandidateCheckPriority = v }, |
| 491 | }, "use candidate check priority") |
| 492 | } |
| 493 | |
| 494 | func TestMultipleConfigOptions(t *testing.T) { |
| 495 | t.Run("can apply multiple options", func(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…