const quote … type readTest … var readImportsTests … var readCommentsTests … func testRead(t *testing.T, tests []readTest, read func(io.Reader) ([]byte, error)) { … } func TestReadImports(t *testing.T) { … } func TestReadComments(t *testing.T) { … } var readFailuresTests … func TestReadFailures(t *testing.T) { … } func TestReadFailuresIgnored(t *testing.T) { … }