mirror of
https://github.com/golang/go
synced 2024-11-22 02:24:41 -07:00
gofix: fix procattr registration, tests
R=adg CC=golang-dev https://golang.org/cl/4275054
This commit is contained in:
parent
d7106f280d
commit
35c274a0da
@ -11,7 +11,6 @@ func init() {
|
||||
var httpserverTests = []testCase{
|
||||
{
|
||||
Name: "httpserver.0",
|
||||
Fn: httpserver,
|
||||
In: `package main
|
||||
|
||||
import "http"
|
||||
|
@ -19,7 +19,7 @@ http://codereview.appspot.com/4253052
|
||||
}
|
||||
|
||||
func init() {
|
||||
register(httpserverFix)
|
||||
register(procattrFix)
|
||||
}
|
||||
|
||||
func procattr(f *ast.File) bool {
|
||||
|
@ -11,7 +11,6 @@ func init() {
|
||||
var procattrTests = []testCase{
|
||||
{
|
||||
Name: "procattr.0",
|
||||
Fn: procattr,
|
||||
In: `package main
|
||||
|
||||
import (
|
||||
|
Loading…
Reference in New Issue
Block a user