Skip to content

Commit ed3e614

Browse files
committed
refactor
1 parent 6e535e5 commit ed3e614

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

slice_test.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package merge
22

33
import (
4-
"github.com/stretchr/testify/assert"
4+
"reflect"
55
"testing"
66
)
77

@@ -27,7 +27,9 @@ func TestSlice_Merge(t *testing.T) {
2727
for _, tt := range tests {
2828
t.Run(tt.name, func(t *testing.T) {
2929
tt.args.left.Merge(tt.args.right)
30-
assert.Equal(t, tt.args.want, tt.args.left)
30+
if equal := reflect.DeepEqual(tt.args.want, tt.args.left); !equal {
31+
t.Fatal("Expected: ", tt.args.want, "Actual: ", tt.args.left)
32+
}
3133
})
3234
}
3335
}

0 commit comments

Comments
 (0)