From 2f39919ed0b0a70702adef00d6a39687875ec5bb Mon Sep 17 00:00:00 2001 From: davyxu Date: Tue, 14 Sep 2021 10:38:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go.mod | 12 +++++++----- tests/code_test.go | 5 +++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 2470aae..2e7d595 100644 --- a/go.mod +++ b/go.mod @@ -3,12 +3,14 @@ module github.com/davyxu/protoplus go 1.12 require ( - github.com/davyxu/cellnet v4.1.0+incompatible + // 测试用 + //github.com/davyxu/cellnet v4.1.0+incompatible github.com/davyxu/golexer v0.1.1-0.20200202091144-a15ddde83f6a github.com/davyxu/ulexer v0.0.0-20200713054812-c9bb8db3521f - github.com/stretchr/testify v1.7.0 + //github.com/stretchr/testify v1.7.0 ) -replace github.com/davyxu/cellnet => ../cellnet - -replace github.com/davyxu/x => ../x +replace ( +// github.com/davyxu/cellnet => ../cellnet +// github.com/davyxu/x => ../x +) \ No newline at end of file diff --git a/tests/code_test.go b/tests/code_test.go index b6b073e..a56cec8 100644 --- a/tests/code_test.go +++ b/tests/code_test.go @@ -2,9 +2,10 @@ package tests import ( "encoding/json" - _ "github.com/davyxu/cellnet/codec/protoplus" - "github.com/davyxu/protoplus/api/golang" "github.com/stretchr/testify/assert" + //_ "github.com/davyxu/cellnet/codec/protoplus" + "github.com/davyxu/protoplus/api/golang" + //"github.com/stretchr/testify/assert" "math" "reflect" "testing"