mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-21 04:57:11 +02:00
Upgrade go dependencies (#50)
* upgrade go dependencies. * remove testify deep equal.
This commit is contained in:
parent
dfc7eb3882
commit
ac76c81f69
3 changed files with 76 additions and 61 deletions
|
@ -1,10 +1,9 @@
|
|||
package plugins
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/demodesk/neko/pkg/types"
|
||||
)
|
||||
|
||||
|
@ -591,7 +590,9 @@ func Test_deps_addPlugin(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
assert.Equal(t, tt.want, d.deps)
|
||||
if !reflect.DeepEqual(d.deps, tt.want) {
|
||||
t.Errorf("deps = %v, want %v", d.deps, tt.want)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue