MCPcopy Index your code
hub / github.com/docker/docker-agent / TestExecutorNilConfig

Function TestExecutorNilConfig

pkg/hooks/hooks_test.go:263–269  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

261}
262
263func TestExecutorNilConfig(t *testing.T) {
264 t.Parallel()
265
266 exec := NewExecutor(nil, "/tmp", nil)
267 require.NotNil(t, exec)
268 assert.False(t, exec.Has(EventPreToolUse))
269}
270
271func TestCompiledMatcherMatchTool(t *testing.T) {
272 t.Parallel()

Callers

nothing calls this directly

Calls 2

HasMethod · 0.95
NewExecutorFunction · 0.85

Tested by

no test coverage detected