MCPcopy Create free account
hub / github.com/docker/docker-agent / TestApp_ResolveSkillCommand_NotSlashCommand

Function TestApp_ResolveSkillCommand_NotSlashCommand

pkg/app/app_test.go:336–347  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

334}
335
336func TestApp_ResolveSkillCommand_NotSlashCommand(t *testing.T) {
337 t.Parallel()
338
339 ctx := t.Context()
340 rt := &mockRuntime{}
341 sess := session.New()
342 app := New(t.Context(), rt, sess)
343
344 resolved, err := app.ResolveSkillCommand(ctx, "not a slash command")
345 require.NoError(t, err)
346 assert.Empty(t, resolved)
347}
348
349func TestApp_UndoLastSnapshot(t *testing.T) {
350 t.Parallel()

Callers

nothing calls this directly

Calls 4

NewFunction · 0.92
ContextMethod · 0.80
ResolveSkillCommandMethod · 0.80
NewFunction · 0.70

Tested by

no test coverage detected