Remove invalid comments in unit tests

This commit is contained in:
Cao Shufeng
2018-01-05 13:42:54 +08:00
parent c6ae1e51ad
commit edce292a1f
5 changed files with 0 additions and 5 deletions

View File

@@ -206,7 +206,6 @@ func TestExec(t *testing.T) {
body := objBody(codec, test.pod)
return &http.Response{StatusCode: 200, Header: defaultHeader(), Body: body}, nil
default:
// Ensures no GET is performed when deleting by name
t.Errorf("%s: unexpected request: %s %#v\n%#v", test.name, req.Method, req.URL, req)
return nil, fmt.Errorf("unexpected request")
}