summaryrefslogtreecommitdiff
path: root/src/cmd/gofix/netdial_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/gofix/netdial_test.go')
-rw-r--r--src/cmd/gofix/netdial_test.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/cmd/gofix/netdial_test.go b/src/cmd/gofix/netdial_test.go
index 272aa526a..fff00b4ad 100644
--- a/src/cmd/gofix/netdial_test.go
+++ b/src/cmd/gofix/netdial_test.go
@@ -1,12 +1,17 @@
+// Copyright 2011 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package main
func init() {
- addTestCases(netdialTests)
+ addTestCases(netdialTests, nil)
}
var netdialTests = []testCase{
{
Name: "netdial.0",
+ Fn: netdial,
In: `package main
import "net"
@@ -29,6 +34,7 @@ func f() {
{
Name: "netlookup.0",
+ Fn: netlookup,
In: `package main
import "net"