MCPcopy Create free account
hub / github.com/codehamr/codehamr / TestHumanTokensFormat

Function TestHumanTokensFormat

internal/tui/tui_test.go:1569–1595  ·  view source on GitHub ↗

TestHumanTokensFormat: the session counter renders compactly: plain int under 1000, then `k`/`M` with a constant single decimal. The decimal is always kept (`2.0k`, not `2k`) so the live counter doesn't jump width as it ticks past a round thousand.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

humanTokensFunction · 0.85

Tested by

no test coverage detected