Skip to content

Commit

Permalink
add more test
Browse files Browse the repository at this point in the history
  • Loading branch information
miladrahimi committed Mar 31, 2021
1 parent 8931b95 commit a57d75a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/container/container_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ func TestContainer_Fill_Unexported_With_Struct_Pointer(t *testing.T) {
myApp := struct {
s Shape `container:"inject"`
d Database `container:"inject"`
X string
x string `container:"ignore"`
y int
}{}

err = instance.Fill(&myApp)
Expand Down Expand Up @@ -341,4 +342,3 @@ func TestContainer_Fill_With_Invalid_Pointer_It_Should_Fail(t *testing.T) {
err := instance.Fill(s)
assert.EqualError(t, err, "container: invalid structure")
}

0 comments on commit a57d75a

Please sign in to comment.