MCPcopy Index your code
hub / github.com/pterm/pterm / TestTablePrinter_WithRowSeparator

Function TestTablePrinter_WithRowSeparator

table_printer_test.go:157–162  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

155}
156
157func TestTablePrinter_WithRowSeparator(t *testing.T) {
158 p := pterm.TablePrinter{}
159 p2 := p.WithRowSeparator("-")
160
161 testza.AssertEqual(t, "-", p2.RowSeparator)
162}
163
164func TestTablePrinter_WithRowSeparatorStyle(t *testing.T) {
165 s := pterm.NewStyle(pterm.FgRed, pterm.BgBlue, pterm.Bold)

Callers

nothing calls this directly

Calls 1

WithRowSeparatorMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…