MCPcopy
hub / github.com/pterm/pterm / TestPrefixPrinterNilPrint

Function TestPrefixPrinterNilPrint

prefix_printer_test.go:17–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15var prefixPrinters = []pterm.PrefixPrinter{pterm.Info, pterm.Success, pterm.Warning, pterm.Error, *pterm.Fatal.WithFatal(false)}
16
17func TestPrefixPrinterNilPrint(t *testing.T) {
18 proxyToDevNull()
19 p := pterm.PrefixPrinter{}
20 p.Println("Hello, World!")
21}
22
23func TestPrefixPrinterPrintMethods(t *testing.T) {
24 for _, p := range prefixPrinters {

Callers

nothing calls this directly

Calls 2

PrintlnMethod · 0.95
proxyToDevNullFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…