mirror of
https://github.com/datarhei/core.git
synced 2025-09-26 20:11:29 +08:00
Fix test
This commit is contained in:
@@ -46,7 +46,7 @@ func TestFileStorageDelete(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
err := s.Delete(ctx, "foo")
|
||||
require.ErrorIs(t, err, fs.ErrNotExist)
|
||||
require.NoError(t, err)
|
||||
|
||||
err = s.Store(ctx, "foo", data)
|
||||
require.NoError(t, err)
|
||||
|
Reference in New Issue
Block a user