mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-01 06:33:18 +02:00
refactor: use stretchr/testify, replace ExpectBytesEqual and ExpectDeepEqual with ExpectEqual in tests
This commit is contained in:
@@ -32,5 +32,5 @@ func TestOverrideItem(t *testing.T) {
|
||||
overrides := GetOverrideConfig()
|
||||
overrides.OverrideItem(a.Alias, want)
|
||||
got := a.GetOverride(a.Alias)
|
||||
ExpectDeepEqual(t, got, want)
|
||||
ExpectEqual(t, got, want)
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ func TestIconURL(t *testing.T) {
|
||||
} else {
|
||||
tc.wantValue.FullValue = tc.input
|
||||
ExpectNoError(t, err)
|
||||
ExpectDeepEqual(t, u, tc.wantValue)
|
||||
ExpectEqual(t, u, tc.wantValue)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user