Skip to content

Commit

Permalink
remove magiconair
Browse files Browse the repository at this point in the history
  • Loading branch information
woutslakhorst committed Dec 9, 2024
1 parent e50e1d8 commit b67c3ff
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion auth/log/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package log
import (
"testing"

"github.com/magiconair/properties/assert"
"github.com/stretchr/testify/assert"
)

func TestLog(t *testing.T) {
Expand Down
5 changes: 2 additions & 3 deletions crypto/api/v1/generated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ import (
"strings"
"testing"

"github.com/nuts-foundation/nuts-node/core"

"github.com/labstack/echo/v4"
"github.com/magiconair/properties/assert"
"github.com/nuts-foundation/nuts-node/core"
"github.com/stretchr/testify/assert"
"go.uber.org/mock/gomock"
)

Expand Down
2 changes: 1 addition & 1 deletion events/log/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package log
import (
"testing"

"github.com/magiconair/properties/assert"
"github.com/stretchr/testify/assert"
)

func TestLog(t *testing.T) {
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ require (
github.com/knadh/koanf/v2 v2.1.2
github.com/labstack/echo/v4 v4.13.0
github.com/lestrrat-go/jwx/v2 v2.1.3
github.com/magiconair/properties v1.8.9
github.com/mdp/qrterminal/v3 v3.2.0
github.com/mr-tron/base58 v1.2.0
github.com/multiformats/go-multicodec v0.9.0
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,6 @@ github.com/lestrrat-go/jwx/v2 v2.1.3 h1:Ud4lb2QuxRClYAmRleF50KrbKIoM1TddXgBrneT5
github.com/lestrrat-go/jwx/v2 v2.1.3/go.mod h1:q6uFgbgZfEmQrfJfrCo90QcQOcXFMfbI/fO0NqRtvZo=
github.com/lestrrat-go/option v1.0.1 h1:oAzP2fvZGQKWkvHa1/SAcFolBEca1oN+mQ7eooNBEYU=
github.com/lestrrat-go/option v1.0.1/go.mod h1:5ZHFbivi4xwXxhxY9XHDe2FHo6/Z7WWmtT7T5nBBp3I=
github.com/magiconair/properties v1.8.9 h1:nWcCbLq1N2v/cpNsy5WvQ37Fb+YElfq20WJ/a8RkpQM=
github.com/magiconair/properties v1.8.9/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0=
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
Expand Down
2 changes: 1 addition & 1 deletion http/log/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package log
import (
"testing"

"github.com/magiconair/properties/assert"
"github.com/stretchr/testify/assert"
)

func TestLog(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion network/dag/consistency_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ package dag
import (
"context"
"encoding/binary"
"github.com/magiconair/properties/assert"
"github.com/nuts-foundation/nuts-node/crypto/hash"
"github.com/nuts-foundation/nuts-node/network/dag/tree"
"github.com/nuts-foundation/nuts-node/storage"
"github.com/nuts-foundation/nuts-node/test"
"github.com/nuts-foundation/nuts-node/test/io"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.uber.org/goleak"
"path"
Expand Down
5 changes: 3 additions & 2 deletions network/transport/grpc/stats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ package grpc

import (
"errors"
"github.com/magiconair/properties/assert"
"testing"

"github.com/nuts-foundation/nuts-node/network/transport"
"github.com/prometheus/client_golang/prometheus"
io_prometheus_client "github.com/prometheus/client_model/go"
"github.com/stretchr/testify/assert"
"go.uber.org/mock/gomock"
"testing"
)

func Test_NumberOfPeersStatistic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion vcr/log/log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package log
import (
"testing"

"github.com/magiconair/properties/assert"
"github.com/stretchr/testify/assert"
)

func TestLog(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion vdr/didsubject/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"github.com/sirupsen/logrus"
"testing"

"github.com/magiconair/properties/assert"
"github.com/nuts-foundation/go-did/did"
"github.com/nuts-foundation/nuts-node/storage"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gorm.io/gorm"
)
Expand Down
2 changes: 1 addition & 1 deletion vdr/log/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package log
import (
"testing"

"github.com/magiconair/properties/assert"
"github.com/stretchr/testify/assert"
)

func TestLog(t *testing.T) {
Expand Down

0 comments on commit b67c3ff

Please sign in to comment.