From 15400bc47430f3d669e97aedfe8ffbf3cc73cce8 Mon Sep 17 00:00:00 2001 From: SystemGlitch Date: Mon, 9 Oct 2023 12:17:51 +0200 Subject: [PATCH] Fix test TestCopyFromSliceToSlice3 --- copier_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copier_test.go b/copier_test.go index 34a1999..af7d56f 100644 --- a/copier_test.go +++ b/copier_test.go @@ -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") } }