mirror of
https://github.com/lingble/talos.git
synced 2026-01-08 15:41:39 +00:00
refactor: use go 1.13 error wrapping
This removes the github.com/pkg/errors package in favor of the official error wrapping in go 1.13. Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
@@ -87,7 +87,7 @@ func TestNthIPInNetwork(t *testing.T) {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
got, err := NthIPInNetwork(tt.args.network, tt.args.n)
|
||||
if err != nil {
|
||||
t.Errorf("%v", err)
|
||||
t.Errorf("%w", err)
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(got, tt.want) {
|
||||
|
||||
Reference in New Issue
Block a user