Fix typo in client_test annotations

This commit is contained in:
Darko Brdareski 2022-01-27 10:56:33 +01:00
parent 5911780735
commit 8c41e17c93

View File

@ -46,7 +46,7 @@ func TestImportLocal(t *testing.T) {
b, err := testdata.ReadFile("testdata/payload.txt")
require.NoError(t, err)
//stm @CLIENT_STORAGE_DEALS_LIST_IMPORTS_001
//stm: @CLIENT_STORAGE_DEALS_LIST_IMPORTS_001
root, err := a.ClientImportLocal(ctx, bytes.NewReader(b))
require.NoError(t, err)
require.NotEqual(t, cid.Undef, root)
@ -59,7 +59,7 @@ func TestImportLocal(t *testing.T) {
require.Equal(t, root, *it.Root)
require.True(t, strings.HasPrefix(it.CARPath, dir))
//stm @CLIENT_DATA_HAS_LOCAL_001
//stm: @CLIENT_DATA_HAS_LOCAL_001
local, err := a.ClientHasLocal(ctx, root)
require.NoError(t, err)
require.True(t, local)