MCPcopy Create free account
hub / github.com/openclaw/gogcli / tabsDocWithEndIndex

Function tabsDocWithEndIndex

internal/cmd/docs_tab_edit_test.go:14–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12)
13
14func tabsDocWithEndIndex() map[string]any {
15 return map[string]any{
16 "documentId": "doc1",
17 "title": "Multi-Tab Doc",
18 "tabs": []any{
19 map[string]any{
20 "tabProperties": map[string]any{"tabId": "t.first", "title": "First", "index": 0},
21 "documentTab": map[string]any{
22 "body": map[string]any{
23 "content": []any{
24 map[string]any{"endIndex": 10},
25 },
26 },
27 },
28 },
29 map[string]any{
30 "tabProperties": map[string]any{"tabId": "t.second", "title": "Second", "index": 1},
31 "documentTab": map[string]any{
32 "body": map[string]any{
33 "content": []any{
34 map[string]any{"endIndex": 20},
35 },
36 },
37 },
38 },
39 },
40 }
41}
42
43func TestDocsWriteUpdate_WithTab(t *testing.T) {
44 var batchRequests [][]*docs.Request

Calls

no outgoing calls

Tested by

no test coverage detected