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:
parent
9d3d5bbafd
commit
c1cdf50975
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue