Upgrade AWS SDK to the latest version

This commit is contained in:
Andrey Smirnov
2017-09-28 17:57:05 +03:00
parent 9a767b7631
commit 182c21e38c
1096 changed files with 309697 additions and 132612 deletions
+4 -4
View File
@@ -1,7 +1,6 @@
package protocol_test
import (
"fmt"
"net/http"
"net/url"
"testing"
@@ -21,11 +20,13 @@ import (
)
func xmlData(set bool, b []byte, size, delta int) {
const openingTags = "<B><A>"
const closingTags = "</A></B>"
if !set {
copy(b, []byte("<B><A>"))
copy(b, []byte(openingTags))
}
if size == 0 {
copy(b[delta-len("</B></A>"):], []byte("</B></A>"))
copy(b[delta-len(closingTags):], []byte(closingTags))
}
}
@@ -118,7 +119,6 @@ func checkForLeak(data interface{}, build, fn func(*request.Request), t *testing
if result.errExists {
assert.NotNil(t, req.Error)
} else {
fmt.Println(req.Error)
assert.Nil(t, req.Error)
}