Skip to content

Commit

Permalink
Add t.Parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshay Shah committed May 25, 2017
1 parent 242333a commit f3b523d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion container_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,11 @@ func TestMultiObjectRegisterResolve(t *testing.T) {
}

func TestZeroValueOnInvoke(t *testing.T) {
t.Parallel()

type missing struct{}
type present struct{}

t.Parallel()
c := New()
c.Provide(func() *present {
return &present{}
Expand All @@ -570,6 +571,8 @@ func TestZeroValueOnInvoke(t *testing.T) {
}

func TestZeroValueOnProvide(t *testing.T) {
t.Parallel()

type missing struct{}
type provided struct{}

Expand Down

0 comments on commit f3b523d

Please sign in to comment.