Skip to content

Commit

Permalink
Fix gofmt and add Go report card
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSnowden committed Dec 21, 2022
1 parent c6a89c0 commit d34c3b1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions README.md
@@ -1,6 +1,10 @@
[![Build status](https://badge.buildkite.com/98c157ed502d55722ef7f28e6470aa20702c76d6989a0a5a89.svg?branch=master)](https://buildkite.com/temporal/temporal-public)
[![Coverage Status](https://coveralls.io/repos/github/temporalio/temporal/badge.svg?branch=master)](https://coveralls.io/github/temporalio/temporal?branch=master)
[![Discourse](https://img.shields.io/static/v1?label=Discourse&message=Get%20Help&color=informational)](https://community.temporal.io)
[![Go Report Card][go-report-image]][go-report-url]

[go-report-image]: https://goreportcard.com/badge/github.com/temporalio/temporal
[go-report-url]: https://goreportcard.com/report/github.com/temporalio/temporal

# Temporal

Expand Down
8 changes: 4 additions & 4 deletions common/archiver/URI_test.go
Expand Up @@ -99,8 +99,8 @@ func (s *URISuite) TestURI() {
hostname: "localhost",
port: "8080",
query: map[string][]string{
"key1": []string{"value1", "value2"},
"key2": []string{"value3"},
"key1": {"value1", "value2"},
"key2": {"value3"},
},
},
{
Expand All @@ -124,8 +124,8 @@ func (s *URISuite) TestURI() {
scheme: "test",
opaque: "opaque",
query: map[string][]string{
"key1": []string{"value1", "value2"},
"key2": []string{"value3"},
"key1": {"value1", "value2"},
"key2": {"value3"},
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion common/collection/pagingIterator_test.go
Expand Up @@ -127,7 +127,7 @@ func (s *pagingIteratorSuite) TestIteration_Err_NotBegining() {

phase := 0
outputs := [][]interface{}{
[]interface{}{1, 2, 3, 4, 5},
{1, 2, 3, 4, 5},
}
tokens := [][]byte{
[]byte("some random token 1"),
Expand Down
4 changes: 2 additions & 2 deletions service/frontend/workflow_handler_test.go
Expand Up @@ -256,8 +256,8 @@ func (s *workflowHandlerSuite) TestDisableListVisibilityByFilter() {
func (s *workflowHandlerSuite) TestTransientTaskInjection() {
cfg := s.newConfig()
baseEvents := []*historypb.HistoryEvent{
&historypb.HistoryEvent{EventId: 1},
&historypb.HistoryEvent{EventId: 2},
{EventId: 1},
{EventId: 2},
}

// Needed to execute test but not relevant
Expand Down

0 comments on commit d34c3b1

Please sign in to comment.