Added support for slice comparison

This commit is contained in:
Eduard Urbach 2023-07-18 14:35:29 +02:00
parent 77a33a46a4
commit 3ff7ac9a08
Signed by: eduard
GPG key ID: 49226B848C78F6C8
2 changed files with 2 additions and 1 deletions

View file

@ -24,6 +24,7 @@ func TestNotEqual(t *testing.T) {
func TestDeepEqual(t *testing.T) {
assert.DeepEqual(t, 0, 0)
assert.DeepEqual(t, "Hello", "Hello")
assert.DeepEqual(t, []byte("Hello"), []byte("Hello"))
assert.DeepEqual(t, T{A: 10}, T{A: 10})
assert.DeepEqual(t, &T{A: 10}, &T{A: 10})
}