Skip to content

Commit

Permalink
changing require to assert which doesn't care about JSON object order
Browse files Browse the repository at this point in the history
  • Loading branch information
mclacore committed Oct 8, 2024
1 parent a6242c2 commit 3ee731a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/bicep/biceptoschema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/massdriver-cloud/airlock/pkg/bicep"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/assert"
)

func TestBicepToSchema(t *testing.T) {
Expand Down Expand Up @@ -178,7 +178,7 @@ func TestBicepToSchema(t *testing.T) {
t.Fatalf("%d, unexpected error", err)
}

require.JSONEq(t, tc.want, string(bytes))
assert.JSONEq(t, tc.want, string(bytes))
})
}
}

0 comments on commit 3ee731a

Please sign in to comment.