mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-08 14:21:18 +00:00
Merge pull request #513 from ncdc/510-follow-ups
Fix copyright date, add happy path test case
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2019 the Heptio Ark contributors.
|
||||
Copyright 2018 the Heptio Ark contributors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -60,6 +60,12 @@ func TestPutObject(t *testing.T) {
|
||||
closeErr error
|
||||
expectedErr error
|
||||
}{
|
||||
{
|
||||
name: "No errors returns nil",
|
||||
closeErr: nil,
|
||||
writeErr: nil,
|
||||
expectedErr: nil,
|
||||
},
|
||||
{
|
||||
name: "Close() errors are returned",
|
||||
closeErr: errors.New("error closing"),
|
||||
|
||||
Reference in New Issue
Block a user