Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
smx-Morgan committed Oct 20, 2024
1 parent 6110116 commit d0abef7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions v2/registry/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,11 @@ func TestNacosMultipleInstancesWithDefaultNacosRegistry(t *testing.T) {
Clusters: []string{clusterName},
HealthyOnly: true,
})
// assert.Equal(t, "instance list is empty!", err.Error())
assert.Equal(t, 0, len(res))
if err != nil {
assert.Equal(t, nil, err.Error())
} else {
assert.Equal(t, 0, len(res))
}
}

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

0 comments on commit d0abef7

Please sign in to comment.