add more tests: mostly trivial checks

This commit is contained in:
Will Norris 2019-03-22 08:46:34 +00:00
parent b984bd0796
commit 0791f8ceec
3 changed files with 48 additions and 1 deletions

View file

@ -24,4 +24,8 @@ func TestNopCache(t *testing.T) {
if ok != false {
t.Errorf("NopCache.Get returned ok = true, should always be false.")
}
// nothing to test on these methods other than to verify they exist
NopCache.Set("", []byte{})
NopCache.Delete("")
}