MCPcopy
hub / github.com/pterm/pterm / TestSprintfWithNewLineEnding

Function TestSprintfWithNewLineEnding

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

Source from the content-addressed store, hash-verified

142}
143
144func TestSprintfWithNewLineEnding(t *testing.T) {
145 for _, p := range prefixPrinters {
146 t.Run("", func(t *testing.T) {
147 testza.AssertNotContains(t, "\n\n", p.Sprintf("%s\n\n\n\n", "Hello, World!"))
148 })
149 }
150}
151
152func TestPrefixPrinter_GetFormattedPrefix(t *testing.T) {
153 for _, p := range prefixPrinters {

Callers

nothing calls this directly

Calls 1

SprintfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…