Skip to content

Commit 6757d68

Browse files
tdakkotaphilippgille
authored andcommitted
add regression test
1 parent 4b9c92d commit 6757d68

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

test/test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,4 +353,14 @@ func InteractWithStore(store gokv.Store, key string, t *testing.T, waitGroup *sy
353353
if err != nil {
354354
t.Error(err)
355355
}
356+
// Delete
357+
err = store.Delete(key)
358+
if err != nil {
359+
t.Error(err)
360+
}
361+
// Read
362+
_, err = store.Get(key, new(Foo))
363+
if err != nil {
364+
t.Error(err)
365+
}
356366
}

0 commit comments

Comments
 (0)