Skip to content

Commit

Permalink
add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Feb 8, 2020
1 parent b6b7687 commit 4e79f38
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,4 +353,14 @@ func InteractWithStore(store gokv.Store, key string, t *testing.T, waitGroup *sy
if err != nil {
t.Error(err)
}
// Delete
err = store.Delete(key)
if err != nil {
t.Error(err)
}
// Read
_, err = store.Get(key, new(Foo))
if err != nil {
t.Error(err)
}
}

0 comments on commit 4e79f38

Please # to comment.