MCPcopy
hub / github.com/pterm/pterm / TestSprint

Function TestSprint

print_test.go:17–21  ·  view source on GitHub ↗

pterm.Sprint functions

(t *testing.T)

Source from the content-addressed store, hash-verified

15// pterm.Sprint functions
16
17func TestSprint(t *testing.T) {
18 for _, randomString := range internal.RandomStrings {
19 testza.AssertEqual(t, randomString, pterm.Sprint(randomString))
20 }
21}
22
23func TestSprintf(t *testing.T) {
24 for _, randomString := range internal.RandomStrings {

Callers

nothing calls this directly

Calls 1

SprintFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…