(t *testing.T)
| 543 | } |
| 544 | |
| 545 | func TestModel_WorkspacePinnedStateAppearsInContextHeader(t *testing.T) { |
| 546 | m := newWorkspaceTestModel() |
| 547 | ctx := workspaceContextFromContainer(m.daemon.Containers(nil, 0)[0]) |
| 548 | m.pinnedContext = &ctx |
| 549 | |
| 550 | body := m.renderWorkspaceBody() |
| 551 | if !strings.Contains(body, "Context · pinned") { |
| 552 | t.Fatalf("expected pinned context header, got %q", body) |
| 553 | } |
| 554 | } |
| 555 | |
| 556 | func TestModel_WorkspaceContextPaneScrollsWhenFocused(t *testing.T) { |
| 557 | m := newWorkspaceTestModel() |
nothing calls this directly
no test coverage detected