MCPcopy
hub / github.com/pterm/pterm / TestDisableDebugMessages

Function TestDisableDebugMessages

pterm_test.go:9–13  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

7)
8
9func TestDisableDebugMessages(t *testing.T) {
10 pterm.PrintDebugMessages = true
11 pterm.DisableDebugMessages()
12 testza.AssertFalse(t, pterm.PrintDebugMessages)
13}
14
15func TestEnableDebugMessages(t *testing.T) {
16 pterm.EnableDebugMessages()

Callers

nothing calls this directly

Calls 1

DisableDebugMessagesFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…