Skip to content

Commit

Permalink
fixed accidentally broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
borystomala committed Apr 29, 2016
1 parent f4aa2ce commit 16fea1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions copier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ func TestEmbedded(t *testing.T) {
embeded.EmbedField2 = 4

Copy(&base, &embeded)

if base.BaseField1 != 1 {
t.Error("Embedded fields not copied")
}
}

func TestDifferentType(t *testing.T) {
Expand Down

0 comments on commit 16fea1e

Please sign in to comment.