summaryrefslogtreecommitdiff
path: root/src/cmd/fix/httpfinalurl_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/fix/httpfinalurl_test.go')
-rw-r--r--src/cmd/fix/httpfinalurl_test.go37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/cmd/fix/httpfinalurl_test.go b/src/cmd/fix/httpfinalurl_test.go
deleted file mode 100644
index 9249f7e18..000000000
--- a/src/cmd/fix/httpfinalurl_test.go
+++ /dev/null
@@ -1,37 +0,0 @@
-// 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(httpfinalurlTests, httpfinalurl)
-}
-
-var httpfinalurlTests = []testCase{
- {
- Name: "finalurl.0",
- In: `package main
-
-import (
- "http"
-)
-
-func f() {
- resp, _, err := http.Get("http://www.google.com/")
- _, _ = resp, err
-}
-`,
- Out: `package main
-
-import (
- "http"
-)
-
-func f() {
- resp, err := http.Get("http://www.google.com/")
- _, _ = resp, err
-}
-`,
- },
-}