Fix copyright date, add happy path test case

Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
pull/513/head
Andy Goldstein 2018-05-23 09:59:32 -04:00
parent 92e9d307a5
commit 849297e623
1 changed files with 7 additions and 1 deletions

View File

@ -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"),