Skip to content

Commit

Permalink
Merge pull request #139 from xmidt-org/enable-style-checks
Browse files Browse the repository at this point in the history
Fix the style warnings and enable them moving forward.
  • Loading branch information
schmidtw authored Sep 22, 2023
2 parents 166b282 + 7f26190 commit 478cc45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ jobs:
uses: xmidt-org/shared-go/.github/workflows/ci.yml@5bc4b83f25ff4c944cd6253ba189e50d1997ab3c # v4.1.0
with:
copyright-skip: true
style-skip: true
release-type: library
secrets: inherit
12 changes: 6 additions & 6 deletions wrphttp/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ func TestWithDecoder(t *testing.T) {
func TestWithBefore(t *testing.T) {
testData := [][]MessageFunc{
nil,
[]MessageFunc{},
[]MessageFunc{
{},
{
func(context.Context, *wrp.Message) context.Context { return nil },
},
[]MessageFunc{
{
func(context.Context, *wrp.Message) context.Context { return nil },
func(context.Context, *wrp.Message) context.Context { return nil },
func(context.Context, *wrp.Message) context.Context { return nil },
Expand All @@ -194,11 +194,11 @@ func TestWithBefore(t *testing.T) {
func TestWithAfter(t *testing.T) {
testData := [][]MessageFunc{
nil,
[]MessageFunc{},
[]MessageFunc{
{},
{
func(context.Context, *wrp.Message) context.Context { return nil },
},
[]MessageFunc{
{
func(context.Context, *wrp.Message) context.Context { return nil },
func(context.Context, *wrp.Message) context.Context { return nil },
func(context.Context, *wrp.Message) context.Context { return nil },
Expand Down

0 comments on commit 478cc45

Please sign in to comment.