mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
net: move test flags into main_test.go
Also updates the comments on test flags. Change-Id: I8dbd90270e08728ab309ab88a3030e0f8e547175 Reviewed-on: https://go-review.googlesource.com/8394 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
bd09279c3f
commit
52c84c34fd
5 changed files with 21 additions and 19 deletions
|
|
@ -6,7 +6,6 @@ package net
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"flag"
|
||||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
|
|
@ -77,8 +76,6 @@ func TestSelfConnect(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
var runErrorTest = flag.Bool("run_error_test", false, "let TestDialError check for dns errors")
|
||||
|
||||
type DialErrorTest struct {
|
||||
Net string
|
||||
Raddr string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue