Skip to content
Snippets Groups Projects
Commit 5ba32dc4 authored by fangyincheng's avatar fangyincheng
Browse files

Fix:fix bug about test

parent b1901344
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ import ( ...@@ -17,7 +17,7 @@ import (
func TestEchoFilter_Invoke(t *testing.T) { func TestEchoFilter_Invoke(t *testing.T) {
filter := GetFilter() filter := GetFilter()
result := filter.Invoke(protocol.NewBaseInvoker(common.URL{}), result := filter.Invoke(protocol.NewBaseInvoker(common.URL{}),
invocation.NewRPCInvocationForProvider("Echo", []interface{}{"OK"}, nil)) invocation.NewRPCInvocationForProvider("$echo", []interface{}{"OK"}, nil))
assert.Equal(t, "OK", result.Result()) assert.Equal(t, "OK", result.Result())
result = filter.Invoke(protocol.NewBaseInvoker(common.URL{}), result = filter.Invoke(protocol.NewBaseInvoker(common.URL{}),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment