File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- // Copyright 2017 DigitalOcean.
1
+ // Copyright 2021 DigitalOcean.
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
@@ -144,7 +144,7 @@ func TestAddDataPath(t *testing.T) {
144
144
}
145
145
for _ , tt := range tests {
146
146
t .Run (tt .desc , func (t * testing.T ) {
147
- _ , err := tt .dp .AddDataPath (tt .dpName )
147
+ err := tt .dp .AddDataPath (tt .dpName )
148
148
if err != nil {
149
149
t .Errorf ("getting an error while trying to get version %q" , err .Error ())
150
150
}
@@ -170,7 +170,7 @@ func TestDelDataPath(t *testing.T) {
170
170
}
171
171
for _ , tt := range tests {
172
172
t .Run (tt .desc , func (t * testing.T ) {
173
- _ , err := tt .dp .DelDataPath (tt .dpName )
173
+ err := tt .dp .DelDataPath (tt .dpName )
174
174
if err != nil {
175
175
t .Errorf ("getting an error while trying to get version %q" , err .Error ())
176
176
}
You can’t perform that action at this time.
0 commit comments