You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2020/03/01 09:34:17 UTC
[dubbo-go] 02/02: Add: issue 380 ut
This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch 1.3
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
commit c09e2f2e7981d72ec4cc42e7319a8e078ca07915
Author: alexstocks <al...@foxmail.com>
AuthorDate: Sat Feb 29 18:57:43 2020 +0800
Add: issue 380 ut
---
protocol/dubbo/codec_test.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/protocol/dubbo/codec_test.go b/protocol/dubbo/codec_test.go
index 02ce02d..5dc71f0 100644
--- a/protocol/dubbo/codec_test.go
+++ b/protocol/dubbo/codec_test.go
@@ -25,8 +25,8 @@ import (
import (
hessian "github.com/apache/dubbo-go-hessian2"
- "github.com/stretchr/testify/assert"
perrors "github.com/pkg/errors"
+ "github.com/stretchr/testify/assert"
)
func TestDubboPackage_MarshalAndUnmarshal(t *testing.T) {
@@ -79,5 +79,5 @@ func TestIssue380(t *testing.T) {
pkg := &DubboPackage{}
buf := bytes.NewBuffer([]byte("hello"))
err := pkg.Unmarshal(buf)
- assert.True(t, perrors.Cause(err) == hessian.ErrHeaderNotEnough)
-}
\ No newline at end of file
+ assert.True(t, perrors.Cause(err) == hessian.ErrHeaderNotEnough)
+}