Upgrade go dependencies (#50)

* upgrade go dependencies.

* remove testify deep equal.
This commit is contained in:
Miroslav Šedivý 2023-05-19 22:29:25 +02:00 committed by GitHub
parent dfc7eb3882
commit ac76c81f69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 76 additions and 61 deletions

View file

@ -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)
}
})
}
}