Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
codchen committed Nov 17, 2023
1 parent 576a2b9 commit 70ec9a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions store/cachekv/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ func TestCacheKVStore(t *testing.T) {
st.Write()
require.Empty(t, st.Get(keyFmt(1)), "Expected `key1` to be empty")
require.Empty(t, mem.Get(keyFmt(1)), "Expected `key1` to be empty")

// GetParent returns parent store
require.NotNil(t, st.GetParent())
}

func TestCacheKVStoreNoNilSet(t *testing.T) {
Expand Down

0 comments on commit 70ec9a1

Please sign in to comment.