ineffassign fixes (#2758)

This commit is contained in:
Karthic Rao
2016-09-22 11:33:54 +05:30
committed by Harshavardhana
parent f7430ec09c
commit 1148f95292
3 changed files with 19 additions and 1 deletions

View File

@@ -1463,6 +1463,8 @@ func (s *TestSuiteCommon) TestListObjectsHandler(c *C) {
c.Assert(response.StatusCode, Equals, http.StatusOK)
getContent, err = ioutil.ReadAll(response.Body)
c.Assert(err, IsNil)
c.Assert(strings.Contains(string(getContent), "<Key>bar</Key>"), Equals, true)
c.Assert(strings.Contains(string(getContent), "<Owner><ID>minio</ID><DisplayName>minio</DisplayName></Owner>"), Equals, true)