cleanup: remove old tests
This commit is contained in:
parent
0a1a189cfa
commit
f84010f175
@ -1,12 +0,0 @@
|
||||
package train
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestListArchives(t *testing.T) {
|
||||
err := ListArchives()
|
||||
if err != nil {
|
||||
t.Errorf("unable to list buckets: %v", err)
|
||||
}
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
package train
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestList(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
wantErr bool
|
||||
}{
|
||||
{
|
||||
name: "default",
|
||||
wantErr: false,
|
||||
},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
if err := List(); (err != nil) != tt.wantErr {
|
||||
t.Errorf("List() error = %v, wantErr %v", err, tt.wantErr)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user