MCPcopy Create free account
hub / github.com/codechenx/FastTableViewer / TestGetHelpContent_ContainsBasics

Function TestGetHelpContent_ContainsBasics

utils_test.go:191–204  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

189}
190
191func TestGetHelpContent_ContainsBasics(t *testing.T) {
192 help := getHelpContent()
193
194 // Check for essential content
195 if !contains(help, "Quit") {
196 t.Error("Help should contain 'Quit' section")
197 }
198 if !contains(help, "Movement") {
199 t.Error("Help should contain 'Movement' section")
200 }
201 if !contains(help, "Sort") {
202 t.Error("Help should contain 'Sort' section")
203 }
204}
205
206func TestUsefulInfo_NotEmpty(t *testing.T) {
207 // Just verify it doesn't panic

Callers

nothing calls this directly

Calls 2

getHelpContentFunction · 0.85
containsFunction · 0.85

Tested by

no test coverage detected