go/src/text/tabwriter/tabwriter_test.go

type buffer

func (b *buffer) init(n int) {}

func (b *buffer) clear() {}

func (b *buffer) Write(buf []byte) (written int, err error) {}

func (b *buffer) String() string {}

func write(t *testing.T, testname string, w *Writer, src string) {}

func verify(t *testing.T, testname string, w *Writer, b *buffer, src, expected string) {}

func check(t *testing.T, testname string, minwidth, tabwidth, padding int, padchar byte, flags uint, src, expected string) {}

var tests

func Test(t *testing.T) {}

type panicWriter

func (panicWriter) Write([]byte) (int, error) {}

func wantPanicString(t *testing.T, want string) {}

func TestPanicDuringFlush(t *testing.T) {}

func TestPanicDuringWrite(t *testing.T) {}

func BenchmarkTable(b *testing.B) {}

func BenchmarkPyramid(b *testing.B) {}

func BenchmarkRagged(b *testing.B) {}

const codeSnippet

func BenchmarkCode(b *testing.B) {}