Skip to content

Commit

Permalink
Pin to ~0.4.0 dig (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
glibsm authored Jun 12, 2017
1 parent 3f1cf0e commit b003d67
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
4 changes: 0 additions & 4 deletions app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,4 @@ func TestApp(t *testing.T) {
err = s.Stop(stopCtx)
assert.Contains(t, err.Error(), "context deadline exceeded")
})
t.Run("ProvideDoesNotPanicForObjectInstances", func(t *testing.T) {
type empty struct{}
assert.NotPanics(t, func() { New().Provide(&empty{}) })
})
}
8 changes: 3 additions & 5 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import:
- package: go.uber.org/multierr
version: ~0.2.0
- package: go.uber.org/dig
# TODO: cut v0.4 of dig, and get ready to solidify v1.0
version: master
version: ~0.4.0
testImport:
- package: github.com/stretchr/testify
version: ~1.1.4
Expand Down

0 comments on commit b003d67

Please sign in to comment.