MCPcopy Create free account
hub / github.com/atomicgo/cursor / TestHeightCannotBeNegative

Function TestHeightCannotBeNegative

cursor_test.go:25–31  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

23}
24
25func TestHeightCannotBeNegative(t *testing.T) {
26 Down(10)
27
28 if autoheight < 0 {
29 t.Errorf("height is negative: %d", autoheight)
30 }
31}

Callers

nothing calls this directly

Calls 1

DownFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…