You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2018/10/30 02:10:46 UTC
[incubator-servicecomb-service-center] branch master updated:
SCB-993 span_test.go:151: Fatalf call has arguments but no formatting
directives (#474)
This is an automated email from the ASF dual-hosted git repository.
littlecui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-service-center.git
The following commit(s) were added to refs/heads/master by this push:
new f67d612 SCB-993 span_test.go:151: Fatalf call has arguments but no formatting directives (#474)
f67d612 is described below
commit f67d612893a03e5ea9e206c625491bb7f02c58a7
Author: little-cui <su...@qq.com>
AuthorDate: Tue Oct 30 10:10:42 2018 +0800
SCB-993 span_test.go:151: Fatalf call has arguments but no formatting directives (#474)
---
server/plugin/pkg/tracing/buildin/span_test.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/server/plugin/pkg/tracing/buildin/span_test.go b/server/plugin/pkg/tracing/buildin/span_test.go
index c44ba2a..fcf8667 100644
--- a/server/plugin/pkg/tracing/buildin/span_test.go
+++ b/server/plugin/pkg/tracing/buildin/span_test.go
@@ -148,19 +148,19 @@ func TestFromZipkinSpan(t *testing.T) {
span := &zipkincore.Span{}
err := json.Unmarshal(sample, &span)
if err != nil {
- t.Fatalf("TestFromZipkinSpan Unmarshal", err)
+ t.Fatalf("TestFromZipkinSpan Unmarshal, %v", err)
}
s := FromZipkinSpan(span)
b, err := json.Marshal(s)
if err != nil {
- t.Fatalf("TestFromZipkinSpan Marshal", err)
+ t.Fatalf("TestFromZipkinSpan Marshal, %v", err)
}
fmt.Println(string(b))
s = FromZipkinSpan(&zipkincore.Span{})
b, err = json.Marshal(s)
if err != nil {
- t.Fatalf("TestFromZipkinSpan Marshal", err)
+ t.Fatalf("TestFromZipkinSpan Marshal, %v", err)
}
fmt.Println(string(b))
}