1
0
mirror of https://github.com/golang/go synced 2024-11-25 05:57:57 -07:00

gofix: fix procattr registration, tests

R=adg
CC=golang-dev
https://golang.org/cl/4275054
This commit is contained in:
Russ Cox 2011-03-16 13:58:09 +11:00 committed by Andrew Gerrand
parent d7106f280d
commit 35c274a0da
3 changed files with 1 additions and 3 deletions

View File

@ -11,7 +11,6 @@ func init() {
var httpserverTests = []testCase{ var httpserverTests = []testCase{
{ {
Name: "httpserver.0", Name: "httpserver.0",
Fn: httpserver,
In: `package main In: `package main
import "http" import "http"

View File

@ -19,7 +19,7 @@ http://codereview.appspot.com/4253052
} }
func init() { func init() {
register(httpserverFix) register(procattrFix)
} }
func procattr(f *ast.File) bool { func procattr(f *ast.File) bool {

View File

@ -11,7 +11,6 @@ func init() {
var procattrTests = []testCase{ var procattrTests = []testCase{
{ {
Name: "procattr.0", Name: "procattr.0",
Fn: procattr,
In: `package main In: `package main
import ( import (