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:
parent
d7106f280d
commit
35c274a0da
@ -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
|
|||||||
}
|
}
|
||||||
|
|
||||||
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() {
|
|||||||
var procattrTests = []testCase{
|
var procattrTests = []testCase{
|
||||||
{
|
{
|
||||||
Name: "procattr.0",
|
Name: "procattr.0",
|
||||||
Fn: procattr,
|
|
||||||
In: `package main
|
In: `package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
Reference in New Issue
Block a user