MCPcopy
hub / github.com/moncho/dry / TestModel_ExecuteMenuCommandAttach

Function TestModel_ExecuteMenuCommandAttach

app/model_test.go:1053–1059  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1051}
1052
1053func TestModel_ExecuteMenuCommandAttach(t *testing.T) {
1054 m := newTestModel()
1055 _, cmd := m.executeMenuCommand("abc123def456", docker.ATTACH)
1056 if cmd == nil {
1057 t.Fatal("expected attach command to return non-nil cmd")
1058 }
1059}
1060
1061func TestModel_F7TogglesHeader(t *testing.T) {
1062 m := newTestModel()

Callers

nothing calls this directly

Calls 2

newTestModelFunction · 0.85
executeMenuCommandMethod · 0.80

Tested by

no test coverage detected