go/src/cmd/compile/internal/syntax/printer_test.go

func TestPrint(t *testing.T) {}

type shortBuffer

func (w *shortBuffer) Write(data []byte) (n int, err error) {}

func TestPrintError(t *testing.T) {}

var stringTests

func TestPrintString(t *testing.T) {}

func testOut() io.Writer {}

func dup(s string) [2]string {}

var exprTests

func TestShortString(t *testing.T) {}