Skip to content

Commit

Permalink
fix assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng committed Aug 23, 2023
1 parent b138706 commit 6bbf6af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions integ/workflow/persistence_loading_policy/routers.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"github.com/stretchr/testify/assert"
"log"
"net/http"
"reflect"
)

const (
Expand Down Expand Up @@ -230,7 +229,7 @@ func verifyLoadedAttributes(
panic("Search attributes should be the same")
}

if !reflect.DeepEqual(expectedDataAttributes, dataAttributes) {
if !assert.ElementsMatch(common.DummyT{}, expectedDataAttributes, dataAttributes) {
panic("Data attributes should be the same")
}
}

0 comments on commit 6bbf6af

Please sign in to comment.