Skip to content

Commit

Permalink
Format code with black, autopep8 and gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-dev-autofix[bot] committed Jan 30, 2023
1 parent bde2e6f commit e8e9553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/helper_test.go
Expand Up @@ -12,8 +12,8 @@ type mockHandler struct{}
func (mockHandler) ServeHTTP(http.ResponseWriter, *http.Request) {}

func TestNewServer(t *testing.T) {
var addr = "127.0.0.1:8080"
var srv = NewServer(addr, mockHandler{})
addr := "127.0.0.1:8080"
srv := NewServer(addr, mockHandler{})
if !assert.Equal(t, addr, srv.Addr) {
t.Fail()
}
Expand Down

0 comments on commit e8e9553

Please sign in to comment.