mirror of
https://github.com/restic/restic.git
synced 2026-10-22 08:58:11 +00:00
Update dependencies
Among others, this updates minio-go, so that the new "eu-west-3" zone for AWS is supported.
This commit is contained in:
1 parent
b63de7c798
commit
2b39f9f4b2
3435 files changed
+1317989
-315639
No files matched your search
+4
-3
@@ -15,9 +15,10 @@
|
||||
package pubsub
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"cloud.google.com/go/internal/testutil"
|
||||
|
||||
pb "google.golang.org/genproto/googleapis/pubsub/v1"
|
||||
)
|
||||
|
||||
@@ -58,10 +59,10 @@ func TestSplitRequest(t *testing.T) {
|
||||
ModifyDeadlineSeconds: modDeadlines[len(m1) : len(m1)+len(m2)],
|
||||
}
|
||||
got1, got2 := splitRequest(req, reqFixedOverhead+40)
|
||||
if !reflect.DeepEqual(got1, want1) {
|
||||
if !testutil.Equal(got1, want1) {
|
||||
t.Errorf("#%d: first:\ngot %+v\nwant %+v", i, got1, want1)
|
||||
}
|
||||
if !reflect.DeepEqual(got2, want2) {
|
||||
if !testutil.Equal(got2, want2) {
|
||||
t.Errorf("#%d: second:\ngot %+v\nwant %+v", i, got2, want2)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user