Skip to content

Commit

Permalink
Fix test TestCopyFromSliceToSlice3
Browse files Browse the repository at this point in the history
  • Loading branch information
System-Glitch committed Oct 9, 2023
1 parent 5f3d726 commit 15400bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func TestCopyFromSliceToSlice3(t *testing.T) {
}

for idx := range mockedResult {
if mockedResult[idx].Name != mockedResult[idx].Name || mockedResult[idx].CollectionName != mockedResult[idx].CollectionName {
if mockedResult[idx].Name != expectedResult[idx].Name || mockedResult[idx].CollectionName != expectedResult[idx].CollectionName {
t.Fatalf("failed to copy results")
}
}
Expand Down

0 comments on commit 15400bc

Please sign in to comment.