| ... | ... |
@@ -40,7 +40,7 @@ func postForm(url string, body url.Values) (resp *http.Response, err error) {
|
| 40 | 40 |
return tr.RoundTrip(req) |
| 41 | 41 |
} |
| 42 | 42 |
|
| 43 |
-func getUrl(url string) (resp *http.Response, err error) {
|
|
| 43 |
+func getURL(url string) (resp *http.Response, err error) {
|
|
| 44 | 44 |
tr := &http.Transport{}
|
| 45 | 45 |
req, err := http.NewRequest("GET", url, nil)
|
| 46 | 46 |
if err != nil {
|
| ... | ... |
@@ -102,7 +102,7 @@ func TestImplicit(t *testing.T) {
|
| 102 | 102 |
} |
| 103 | 103 |
resp = r |
| 104 | 104 |
} else {
|
| 105 |
- r, err := getUrl(server.URL + testCase.Path) |
|
| 105 |
+ r, err := getURL(server.URL + testCase.Path) |
|
| 106 | 106 |
if err != nil {
|
| 107 | 107 |
t.Errorf("%s: unexpected error: %v", k, err)
|
| 108 | 108 |
continue |