Skip to content

Commit

Permalink
context parseRefers compatible with motanV1Compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
liangwei3 committed Apr 9, 2024
1 parent 7550241 commit 1a229b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/globalContext_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestGetContext(t *testing.T) {
func TestCompatible(t *testing.T) {
rs := &Context{ConfigFile: "../config/compatible.yaml"}
rs.Initialize()
assert.NotNil(t, rs.RefersURLs, "parse refers urls fail.")
assert.NotNil(t, rs.RefersURLs)
for _, j := range rs.RefersURLs {
assert.Equal(t, j.Protocol, "motan")
}
Expand Down

0 comments on commit 1a229b0

Please sign in to comment.