Skip to content

Commit

Permalink
fix: use CaseSensitive=true for legacy test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
driventokill committed Aug 9, 2023
1 parent 7d39583 commit bacc10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copier_different_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func TestAssignableType(t *testing.T) {

ts3 := &TypeStruct3{}

copier.Copy(&ts3, &ts)
copier.CopyWithOption(&ts3, &ts, copier.Option{CaseSensitive: true})

if v, ok := ts3.Field1.(string); !ok {
t.Error("Assign to interface{} type did not succeed")
Expand Down

0 comments on commit bacc10b

Please sign in to comment.