1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-17 04:30:03 +02:00

abi_cache/cache_test.go: change require.Error() to assert.Error() and remove the import.

This commit is contained in:
Henrik Hautakoski 2022-11-29 05:41:28 +01:00
parent 9d3d5bbafd
commit c1cdf50975

View file

@ -10,7 +10,6 @@ import (
"github.com/go-redis/redis/v8"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
var abiString = `
@ -147,5 +146,5 @@ func TestCacheMiss(t *testing.T) {
})
_, err := c.Get("nonexist")
require.Error(t, err)
assert.Error(t, err)
}