mirror of
https://github.com/restic/restic.git
synced 2026-10-24 17:58:53 +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
+7
-3
@@ -48,8 +48,9 @@ func TestNewInsertRequest(t *testing.T) {
|
||||
req *bq.TableDataInsertAllRequest
|
||||
}{
|
||||
{
|
||||
ul: &Uploader{},
|
||||
req: &bq.TableDataInsertAllRequest{},
|
||||
ul: &Uploader{},
|
||||
savers: nil,
|
||||
req: nil,
|
||||
},
|
||||
{
|
||||
ul: &Uploader{},
|
||||
@@ -92,7 +93,7 @@ func TestNewInsertRequest(t *testing.T) {
|
||||
}
|
||||
want := tc.req
|
||||
if !testutil.Equal(got, want) {
|
||||
t.Errorf("%#d: %#v: got %#v, want %#v", i, tc.ul, got, want)
|
||||
t.Errorf("%d: %#v: got %#v, want %#v", i, tc.ul, got, want)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -155,6 +156,8 @@ func TestValueSavers(t *testing.T) {
|
||||
in interface{}
|
||||
want []ValueSaver
|
||||
}{
|
||||
{[]interface{}(nil), nil},
|
||||
{[]interface{}{}, nil},
|
||||
{ts, []ValueSaver{ts}},
|
||||
{T{I: 1}, []ValueSaver{&StructSaver{Schema: schema, Struct: T{I: 1}}}},
|
||||
{[]ValueSaver{ts, ts}, []ValueSaver{ts, ts}},
|
||||
@@ -191,6 +194,7 @@ func TestValueSavers(t *testing.T) {
|
||||
|
||||
func TestValueSaversErrors(t *testing.T) {
|
||||
inputs := []interface{}{
|
||||
nil,
|
||||
1,
|
||||
[]int{1, 2},
|
||||
[]interface{}{
|
||||
|
||||
Reference in new issue
Block a user