tianxiaoliang commented on a change in pull request #757:
URL:
https://github.com/apache/servicecomb-service-center/pull/757#discussion_r531820693
##########
File path: syncer/client/sync_client_test.go
##########
@@ -0,0 +1,17 @@
+package client
+
+import (
+ "context"
+ "crypto/tls"
+ "testing"
+)
+
+var c = NewSyncClient("", new(tls.Config))
+
+func TestClient_IncrementPull(t *testing.T) {
+ c.IncrementPull(context.Background(), "http://127.0.0.1")
Review comment:
并未有效的进行断言,没有任何ut意义,思考下如何断言,只是测试编译能不能过,没有意义
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]