mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-19 07:54:48 +01:00
refactor: use stretchr/testify, replace ExpectBytesEqual and ExpectDeepEqual with ExpectEqual in tests
This commit is contained in:
@@ -13,7 +13,7 @@ func TestZipCert(t *testing.T) {
|
||||
|
||||
ca2, crt2, key2, err := ExtractCert(zipData)
|
||||
ExpectNoError(t, err)
|
||||
ExpectBytesEqual(t, ca, ca2)
|
||||
ExpectBytesEqual(t, crt, crt2)
|
||||
ExpectBytesEqual(t, key, key2)
|
||||
ExpectEqual(t, ca, ca2)
|
||||
ExpectEqual(t, crt, crt2)
|
||||
ExpectEqual(t, key, key2)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user