Skip to content

Commit

Permalink
update(ut): update assertion condition
Browse files Browse the repository at this point in the history
  • Loading branch information
SHA-4096 authored Jul 8, 2024
1 parent 0e0666e commit 10c2438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remoting/getty/readwriter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func getServer(t *testing.T) (*Server, *common.URL) {

methods, err := common.ServiceMap.Register("com.ikurento.user.AdminProvider", "dubbo", "", "", &AdminProvider{})
assert.NoError(t, err)
assert.Contains(t, "GetAdmin,getAdmin", methods)
assert.Equal(t, "GetAdmin,getAdmin", methods)

// config
SetClientConf(ClientConfig{
Expand Down

0 comments on commit 10c2438

Please sign in to comment.