Skip to content

Commit

Permalink
fix gofmt for go 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
mihasya committed Aug 26, 2019
1 parent 3c7535c commit cac0b30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ func TestConcurrentRegistryAccess(t *testing.T) {
}

// exercise race detector
func TestRegisterAndRegisteredConcurrency(t *testing.T) {
func TestRegisterAndRegisteredConcurrency(t *testing.T) {
r := NewRegistry()
wg := &sync.WaitGroup{}
wg.Add(1)
Expand All @@ -390,4 +390,4 @@ func TestRegisterAndRegisteredConcurrency(t *testing.T) {
}(r, wg)
r.Register("foo", NewCounter())
wg.Wait()
}
}

0 comments on commit cac0b30

Please sign in to comment.