MCPcopy Create free account
hub / github.com/52funny/pikpakcli / TestClearScreen

Function TestClearScreen

internal/shell/shell_test.go:386–390  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

384}
385
386func TestClearScreen(t *testing.T) {
387 var out strings.Builder
388 clearScreen(&out)
389 require.Equal(t, clearScreenSequence, out.String())
390}
391
392func TestAdaptShellArgs(t *testing.T) {
393 rootCmd := &cobra.Command{Use: "pikpakcli"}

Callers

nothing calls this directly

Calls 1

clearScreenFunction · 0.85

Tested by

no test coverage detected