Commit 35c274a0 authored by Russ Cox's avatar Russ Cox Committed by Andrew Gerrand

gofix: fix procattr registration, tests

R=adg
CC=golang-dev
https://golang.org/cl/4275054
parent d7106f28
...@@ -11,7 +11,6 @@ func init() { ...@@ -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"
......
...@@ -19,7 +19,7 @@ http://codereview.appspot.com/4253052 ...@@ -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 {
......
...@@ -11,7 +11,6 @@ func init() { ...@@ -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 (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment